Dealing with an unencrypted Internet connection

perl’s cpan command to install modules from http://cpan.org assumes (unhelpfully) you have a secure connection. What if you can’t get SSL working, your certificates are not in order?

A workaround: line 34, 35, /usr/share/perl5/core_perl/CPAN/HTTP/Client.pm,

my  = HTTP::Tiny->new(
    verify_SSL => 1,

Change it to 0. Check the second answer at

https://stackoverflow.com/questions/74809633/cpan-fails-because-it-cant-verify-cpan-orgs-ssl-certificate

Search CPAN with https://metacpan.org

Me at

Back to HomePage