Subject: | Let’s Encrypt certificates fail |
$ perl -MIO::Socket::SSL -e 'new IO::Socket::SSL "easternchristiansupply.biz:443" or die IO::Socket::SSL::errstr'
SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at -e line 1.
The certificate in question is issued by Let’s Encrypt.
IO::Socket::SSL is using the pem file from Mozilla::CA by default:
$ perl -MIO::Socket::SSL -le 'print IO::Socket::SSL::default_ca'
SSL_ca_file/Library/Perl/5.18/Mozilla/CA/cacert.pem
Firefox 38 recognizes that certificate. So why does IO::Socket::SSL not recognize it when using Mozilla::CA’s database? Where should I be reporting this problem?
Version information:
$ perl -v|head -2
This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
$ perl -MIO::Socket::SSL -le 'print VERSION IO::Socket::SSL'
2.047
$ perl -MMozilla::CA -le 'print VERSION Mozilla::CA'
20160104
1