Subject: | Failed to load certificate from file t/cert/server-cert.pem |
On some of my smoker systems the test suite fails:
...
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Failed to load certificate from file t/cert/server-cert.pem: [format:PEM] error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small ** [format:DER] error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error error:140AD00D:SSL routines:SSL_CTX_use_certificate_file:ASN1 lib ** [format:PKCS12] error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error ** at t/lib/Utils.pm line 53.
# Failed test 'no error for client 1'
# at t/03_smtp_nb.t line 192.
# SSL connect attempt failed
# Failed test 'right code for client 1'
# at t/03_smtp_nb.t line 193.
# got: undef
# expected: '220'
# Failed test 'right message for client 1'
# at t/03_smtp_nb.t line 194.
# got: undef
# expected: 'OK'
... (etc) ...
This seems to happen on some operating systems e.g. Debian 10 or CentOS 8