Today I tried to install HTTPS support for my Perl using `cpanm LWP::Protocol::https` but it failed when testing `Net::SSLeay`...
PERL_DL_NONLAZY=1 "/home/alex/perl5/perlbrew/perls/perl-5.28.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Sw itches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... ok t/local/02_pod_coverage.t .............. skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1 t/local/03_use.t ....................... ok # Version info: # Testing Net::SSLeay 1.85, Perl 5.028001, /home/alex/perl5/perlbrew/perls/perl-5.28.1/bin/perl # OpenSSL version: 'OpenSSL 1.1.1b 26 Feb 2019' # OpenSSL cflags: 'compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-GgPT5v/op enssl-1.1.1b=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPEN SSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -D MD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_ SOURCE=2' # OpenSSL built on: 'built on: Tue Feb 26 18:52:12 2019 UTC' # OpenSSL platform: 'platform: debian-amd64' # OpenSSL dir: 'OPENSSLDIR: "/usr/lib/ssl"' # OpenSSL engines dir: 'ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"' t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... ok # Failed test 'set_cert_and_key: certificate `t/data/cert.pem' () 4159: 1 - error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small # ' # at t/local/07_sslecho.t line 63. # Failed test 'ssl_read_all' # at t/local/07_sslecho.t line 86. # got: '' # expected: 'ssleay-test'
and on and on...
#Perl