perl mcpan fails with certificate errors

159 views Asked by At

I'm using perl 5.36.0 installed with perlbrew (yes, I need to use that version) but can't install any modules due to certificate errors like below

Loading internal logger. Log::Log4perl recommended for better logging
Reading '/home/mps/.cpan/Metadata'
Warning: Found only 0 objects in /home/mps/.cpan/Metadata

Trying with
    /usr/bin/wget -O "/home/mps/.cpan/sources/authors/01mailrc.txt.gz.tmp13585"
to get
    https://cpan.org/authors/01mailrc.txt.gz
--2023-08-23 15:42:42--  https://cpan.org/authors/01mailrc.txt.gz
Resolving cpan.org (cpan.org)... 151.101.193.55, 151.101.129.55, 151.101.65.55, ...
Connecting to cpan.org (cpan.org)|151.101.193.55|:443... connected.
ERROR: cannot verify cpan.org's certificate, issued by ‘CN=R3,O=Let's Encrypt,C=US’:

Any suggestions greatly appreciated. Thanks!

0

There are 0 answers