in reply to Re: "certificate verify failed" difference between Perl 5.14 and 5.10
in thread "certificate verify failed" difference between Perl 5.14 and 5.10

$ perl -MMozilla::CA -le 'print Mozilla::CA::SSL_ca_file();' /home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/Moz +illa/CA/ca cert.pem $ ls -la /home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5 +.14.0/Mozilla/CA/cacert.pem -r--r--r-- 1 martin root 256791 2011-04-09 16:23 /home/martin/perl5/pe +rlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/Mozilla/CA/cacert.pem $ perl -MLWP -le 'print $LWP::VERSION;' 6.02

and I can cat the pem file as the user I am running the script as.

  • Comment on Re^2: "certificate verify failed" difference between Perl 5.14 and 5.10
  • Download Code

Replies are listed 'Best First'.
Re^3: "certificate verify failed" difference between Perl 5.14 and 5.10
by ikegami (Patriarch) on Jun 16, 2011 at 18:47 UTC
    It could be a problem in the OpenSSL library??? Or maybe the .pem is corrupted??? (Line endings???)