noxxi / p5-io-socket-ssl

IO::Socket::SSL Perl Module
36 stars 59 forks source link

Failed test 'Client non-SSL connection' #149

Closed EugenKon closed 8 months ago

EugenKon commented 8 months ago

Can not understand what is wrong here:

#   Failed test 'Client non-SSL connection'
#   at t/` line 77.
#          got: 'This server is SSL only'
#     expected: 'This server is SSL only'

I compared This server is SSL only. These two strings are same.

How to reproduce:

  1. $ uname -a
    Darwin Eugens-MacBook-Pro.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:27 PDT 2023; root:xnu-10002.41.9~6/RELEASE_X86_64 x86_64 i386 Darwin
  2. cpanm -L local IO::Socket::SSL
Lof file ``` cat /Users/kes/.cpanm/work/1705356960.65620/build.log cpanm (App::cpanminus) 1.7047 on perl 5.038002 built for darwin-2level Work directory is /Users/kes/.cpanm/work/1705356960.65620 You have make /usr/bin/make You have /usr/local/bin/wget You have /usr/bin/tar: bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.0.5 bz2lib/1.0.8 You have /usr/bin/unzip Searching IO::Socket::SSL () on cpanmetadb ... --> Working on IO::Socket::SSL Fetching http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.084.tar.gz -> OK Unpacking IO-Socket-SSL-2.084.tar.gz Entering IO-Socket-SSL-2.084 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70) Checking if you have Net::SSLeay 1.46 ... No ==> Found dependencies: Net::SSLeay Searching Net::SSLeay (1.46) on cpanmetadb ... --> Working on Net::SSLeay Fetching http://www.cpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.94.tar.gz -> OK Unpacking Net-SSLeay-1.94.tar.gz Entering Net-SSLeay-1.94 Checking configure dependencies from META.json Checking if you have constant 0 ... Yes (1.33) Checking if you have Text::Wrap 0 ... Yes (2021.0814) Checking if you have English 0 ... Yes (1.11) Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70) Checking if you have File::Spec::Functions 0 ... Yes (3.88) Configuring Net-SSLeay-1.94 Running Makefile.PL Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n *** If there are build errors, test failures or run-time malfunctions, try to use the same compiler and options to compile your OpenSSL, Perl, and Net::SSLeay. *** Found OpenSSL-3.2.0 installed in /usr/local/opt/openssl Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.63) Checking if you have File::Spec::Functions 0 ... Yes (3.88) Checking if you have Config 0 ... Yes (5.038002) Checking if you have base 0 ... Yes (2.27) Checking if you have Carp 0 ... Yes (1.54) Checking if you have Test::More 0.60_01 ... Yes (1.302194) Checking if you have Test::Builder 0 ... Yes (1.302194) Checking if you have Storable 0 ... Yes (3.32) Checking if you have MIME::Base64 0 ... Yes (3.16_01) Checking if you have English 0 ... Yes (1.11) Checking if you have Cwd 0 ... Yes (3.89) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.70) Checking if you have SelectSaver 0 ... Yes (1.02) Checking if you have File::Basename 0 ... Yes (2.86) Checking if you have Socket 0 ... Yes (2.036) Building and testing Net-SSLeay-1.94 cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay) blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Net/SSLeay: do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ Running Mkbootstrap for SSLeay () chmod 644 "SSLeay.bs" "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/lib/5.38.2/ExtUtils/xsubpp" -typemap '/Users/kes/perl5/perlbrew/perls/perl-5.38.2/lib/5.38.2/ExtUtils/typemap' -typemap '/Users/kes/.cpanm/work/1705356960.65620/Net-SSLeay-1.94/typemap' SSLeay.xs > SSLeay.xsc mv SSLeay.xsc SSLeay.c cc -c -I"/usr/local/opt/openssl/include" -DOPENSSL_API_COMPAT=908 -DNET_SSLEAY_PERL_VERSION=5038002 -fno-common -DPERL_DARWIN -mmacosx-version-min=14.1 -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.94\" -DXS_VERSION=\"1.94\" "-I/Users/kes/perl5/perlbrew/perls/perl-5.38.2/lib/5.38.2/darwin-2level/CORE" SSLeay.c rm -f blib/arch/auto/Net/SSLeay/SSLeay.bundle LD_RUN_PATH="/usr/local/opt/openssl/lib:/usr/lib" cc -Wl,-rpath,"/usr/local/opt/openssl/lib:/usr/lib" -mmacosx-version-min=14.1 -bundle -undefined dynamic_lookup -L/usr/local/opt/openssl/lib -L/usr/local/opt/openssl -L/usr/local/lib -fstack-protector-strong SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.bundle \ -L/usr/local/opt/openssl/lib -L/usr/local/opt/openssl -lssl -lcrypto -lz \ chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.bundle "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 PERL_DL_NONLAZY=1 "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, '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 # # Testing Net::SSLeay 1.94 # # Perl information: # Version: '5.038002' # Executable path: '/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl' # # Library version with OpenSSL_version_num(): # OPENSSL_VERSION_NUMBER: '0x30200000' # # Library information with SSLeay_version() and OpenSSL_version(): # SSLEAY_VERSION: 'OpenSSL 3.2.0 23 Nov 2023' # SSLEAY_CFLAGS: 'compiler: clang -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DNDEBUG' # SSLEAY_BUILT_ON: 'built on: Thu Nov 23 13:20:19 2023 UTC' # SSLEAY_PLATFORM: 'platform: darwin64-x86_64-cc' # SSLEAY_DIR: 'OPENSSLDIR: "/usr/local/etc/openssl@3"' # OPENSSL_ENGINES_DIR: 'ENGINESDIR: "/usr/local/Cellar/openssl@3/3.2.0_1/lib/engines-3"' # OPENSSL_MODULES_DIR: 'MODULESDIR: "/usr/local/Cellar/openssl@3/3.2.0_1/lib/ossl-modules"' # OPENSSL_CPU_INFO: 'CPUINFO: OPENSSL_ia32cap=0x7ffaf3bfffebffff:0x40000000029c67af' # OPENSSL_VERSION_STRING: '3.2.0' # OPENSSL_FULL_VERSION_STRING: '3.2.0' # # Library version information with OPENSSL_version_*(): # OPENSSL_version_major(): '3' # OPENSSL_version_minor(): '2' # OPENSSL_version_patch(): '0' # OPENSSL_version_pre_release(): '' # OPENSSL_version_build_metadata(): '' # # Library information with OPENSSL_info(): # OPENSSL_INFO_CONFIG_DIR: '/usr/local/etc/openssl@3' # OPENSSL_INFO_ENGINES_DIR: '/usr/local/Cellar/openssl@3/3.2.0_1/lib/engines-3' # OPENSSL_INFO_MODULES_DIR: '/usr/local/Cellar/openssl@3/3.2.0_1/lib/ossl-modules' # OPENSSL_INFO_DSO_EXTENSION: '.dylib' # OPENSSL_INFO_DIR_FILENAME_SEPARATOR: '/' # OPENSSL_INFO_LIST_SEPARATOR: ':' # OPENSSL_INFO_SEED_SOURCE: 'os-specific' # OPENSSL_INFO_CPU_SETTINGS: 'OPENSSL_ia32cap=0x7ffaf3bfffebffff:0x40000000029c67af' t/local/03_use.t ............................ ok t/local/04_basic.t .......................... ok t/local/05_passwd_cb.t ...................... ok t/local/06_tcpecho.t ........................ ok t/local/07_sslecho.t ........................ ok t/local/08_pipe.t ........................... ok t/local/09_ctx_new.t ........................ ok t/local/10_rand.t ........................... ok t/local/11_read.t ........................... ok t/local/15_bio.t ............................ ok t/local/20_functions.t ...................... ok t/local/21_constants.t ...................... ok t/local/22_provider.t ....................... ok t/local/22_provider_try_load.t .............. ok t/local/22_provider_try_load_zero_retain.t .. ok t/local/23_openssl_init.t ................... ok t/local/30_error.t .......................... ok t/local/31_rsa_generate_key.t ............... ok t/local/32_x509_get_cert_info.t ............. ok t/local/33_x509_create_cert.t ............... ok t/local/34_x509_crl.t ....................... ok t/local/35_ephemeral.t ...................... skipped: LibreSSL and OpenSSL 1.1.0 removed support for ephemeral/temporary RSA private keys t/local/36_verify.t ......................... ok t/local/37_asn1_time.t ...................... ok t/local/38_priv-key.t ....................... ok t/local/39_pkcs12.t ......................... ok t/local/40_npn_support.t .................... ok t/local/41_alpn_support.t ................... ok t/local/42_info_callback.t .................. ok t/local/43_misc_functions.t ................. ok t/local/44_sess.t ........................... ok t/local/45_exporter.t ....................... ok t/local/46_msg_callback.t ................... ok t/local/47_keylog.t ......................... ok t/local/48_client_hello_callback.t .......... ok t/local/50_digest.t ......................... ok t/local/61_threads-cb-crash.t ............... skipped: Threads not supported on this system t/local/62_threads-ctx_new-deadlock.t ....... skipped: Threads not supported on this system t/local/63_ec_key_generate_key.t ............ ok t/local/64_ticket_sharing.t ................. ok t/local/65_security_level.t ................. ok t/local/65_ticket_sharing_2.t ............... ok t/local/66_curves.t ......................... ok t/local/kwalitee.t .......................... skipped: These tests are for only for release candidate testing. Enable with RELEASE_TESTING=1 All tests successful. Files=47, Tests=2787, 5 wallclock secs ( 0.18 usr 0.07 sys + 3.50 cusr 0.84 csys = 4.59 CPU) Result: PASS "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/SSLeay.bundle Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/Net/SSLeay.pm Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/Net/SSLeay.pod Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/Net/SSLeay/Handle.pm Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_http.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_httpx.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_httpx2.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_httpx.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_http3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcpcat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_httpx3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/randomize.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_https4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_http3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/make_headers.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/initialize.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/open_proxy_tcp_connection.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_https.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/set_proxy.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_httpx.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/want_read.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcp_read_all.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/dump_peer_certificate.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/ssl_read_until.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/set_cert_and_key.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_https4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_httpx3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_http3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_https.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_httpx4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/ssl_write_all.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_httpx3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_https3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_httpx.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_http.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_http.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_https.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_http3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/autosplit.ix Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_httpx4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/debug_read.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/ssl_write_CRLF.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_https3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_https4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/httpx_cat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_https.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcp_write_all.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/new_x_ctx.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/want_X509_lookup.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_https.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_http.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/set_server_cert_and_key.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/want_write.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/sslcat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_httpx3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/http_cat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_https3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/ssl_read_CRLF.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_https4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/https_cat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcp_write_CRLF.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcp_read_CRLF.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_http4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/get_httpx4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_httpx3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_https4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/open_tcp_connection.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/make_form.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_httpx4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_http4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_https3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_https2.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcpxcat.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/post_http4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/do_https3.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/put_httpx4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/head_http4.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/want_nothing.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/ssl_read_all.al Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/auto/Net/SSLeay/tcp_read_until.al Appending installation info to /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/perllocal.pod -> OK Successfully installed Net-SSLeay-1.94 Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/.meta/Net-SSLeay-1.94/MYMETA.json Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/.meta/Net-SSLeay-1.94/install.json Configuring IO-Socket-SSL-2.084 Running Makefile.PL WARNING No library for handling international domain names found. It will work but croak if you try to verify an international name against a certificate. It's recommended to install URI version>=1.50. Net::IDN::Encode and Net::LibIDN are also still supported. Checking if your kit is complete... Looks good Warning: prerequisite Mozilla::CA 0 not found. Generating a Unix-style Makefile Writing Makefile for IO::Socket::SSL Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Net::SSLeay 1.46 ... Yes (1.94) Checking if you have Mozilla::CA 0 ... No Checking if you have Scalar::Util 0 ... Yes (1.63) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.70) ==> Found dependencies: Mozilla::CA Searching Mozilla::CA (0) on cpanmetadb ... --> Working on Mozilla::CA Fetching http://www.cpan.org/authors/id/L/LW/LWP/Mozilla-CA-20231213.tar.gz -> OK Unpacking Mozilla-CA-20231213.tar.gz Entering Mozilla-CA-20231213 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70) Configuring Mozilla-CA-20231213 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Mozilla::CA Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.94 ... Yes (1.302194) Building and testing Mozilla-CA-20231213 cp lib/Mozilla/CA.pm blib/lib/Mozilla/CA.pm cp lib/Mozilla/CA/cacert.pem blib/lib/Mozilla/CA/cacert.pem PERL_DL_NONLAZY=1 "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/locate-file.t .. ok All tests successful. Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.04 cusr 0.01 csys = 0.06 CPU) Result: PASS Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/Mozilla/CA.pm Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/Mozilla/CA/cacert.pem Appending installation info to /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/perllocal.pod -> OK Successfully installed Mozilla-CA-20231213 Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/.meta/Mozilla-CA-20231213/MYMETA.json Installing /Users/kes/dev/wi-deploy/projects/force/local/lib/perl5/darwin-2level/.meta/Mozilla-CA-20231213/install.json Building and testing IO-Socket-SSL-2.084 cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm cp lib/IO/Socket/SSL.pod blib/lib/IO/Socket/SSL.pod cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm cp lib/IO/Socket/SSL/PublicSuffix.pm blib/lib/IO/Socket/SSL/PublicSuffix.pm PERL_DL_NONLAZY=1 "/Users/kes/perl5/perlbrew/perls/perl-5.38.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t # openssl version compiled=0x30200000 linked=0x30200000 -- OpenSSL 3.2.0 23 Nov 2023 # Net::SSLeay version=1.94 # parent IO::Socket::IP version=0.4101 t/01loadmodule.t .................. ok t/acceptSSL-timeout.t ............. ok t/alpn.t .......................... ok t/auto_verify_hostname.t .......... ok t/cert_formats.t .................. ok t/cert_no_file.t .................. ok t/compatibility.t ................. ok t/connectSSL-timeout.t ............ ok # Failed test 'Client non-SSL connection' # at t/` line 77. # got: 'This server is SSL only' # expected: 'This server is SSL only' t/core.t .......................... Failed 1/48 subtests t/dhe.t ........................... ok t/ecdhe.t ......................... ok # tcp connect to www.chksum.de:443 ok # fingerprint matches # validation with default CA w/o OCSP ok # got stapled response as expected # validation with default CA with OCSP defaults ok # validation with default CA with OCSP full chain ok # tcp connect to www.bild.de:443 ok # tcp connect to revoked.grc.com:443 ok t/external/ocsp.t ................. ok # found 145 CA certs # have root CA for www.bild.de in store # 5 connections to www.bild.de ok # have root CA for www.yahoo.com in store # 5 connections to www.yahoo.com ok # have root CA for www.comdirect.de in store # 5 connections to www.comdirect.de ok # have root CA for meine.deutsche-bank.de in store # 5 connections to meine.deutsche-bank.de ok # have root CA for www.twitter.com in store # 5 connections to www.twitter.com ok # have root CA for www.facebook.com in store # 5 connections to www.facebook.com ok # have root CA for www.live.com in store # 5 connections to www.live.com ok t/external/usable_ca.t ............ ok t/io-socket-inet6.t ............... skipped: no IO::Socket::INET6 available t/io-socket-ip.t .................. ok t/memleak_bad_handshake.t ......... ok t/mitm.t .......................... ok t/multiple-cert-rsa-ecc.t ......... ok t/nonblock.t ...................... ok t/npn.t ........................... ok # -- test: newINET start_SSL stop_SSL start_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x160301 from client # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 connect_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # -- test: newSSL:0 start_SSL stop_SSL connect_SSL # server accepted new client # wait for initial data from client # got 0x666f6f from client # server: got plain data at start of connection # server: TLS upgrade # server: TLS downgrade # server: TLS upgrade#2 # server accepted new client # wait for initial data from client # got 0x656e64 from client # client requested end of tests t/plain_upgrade_downgrade.t ....... ok # looks like OpenSSL was compiled without SSLv3 support t/protocol_version.t .............. ok t/public_suffix_lib_encode_idn.t .. ok t/public_suffix_lib_libidn.t ...... ok t/public_suffix_lib_uri.t ......... ok t/public_suffix_ssl.t ............. ok t/readline.t ...................... ok t/session_cache.t ................. ok # listen at 127.0.0.1:64618 # listen at 127.0.0.1:64619 # connect to 0: success reuse=0 version=TLSv1_3 # connect to 0: success reuse=1 version=TLSv1_3 # connect to 1: success reuse=1 version=TLSv1_3 # connect to 1: success reuse=0 version=TLSv1_3 # connect to 0: success reuse=0 version=TLSv1_3 # connect to 0: success reuse=1 version=TLSv1_3 t/session_ticket.t ................ ok t/sessions.t ...................... ok t/set_curves.t .................... ok t/signal-readline.t ............... ok t/sni.t ........................... ok t/sni_verify.t .................... ok t/start-stopssl.t ................. ok t/startssl-failed.t ............... ok t/startssl.t ...................... ok t/sysread_write.t ................. ok t/verify_fingerprint.t ............ ok t/verify_hostname.t ............... ok t/verify_hostname_standalone.t .... ok t/verify_partial_chain.t .......... ok Test Summary Report ------------------- t/core.t (Wstat: 0 Tests: 48 Failed: 1) Failed test: 5 Files=42, Tests=812, 53 wallclock secs ( 0.12 usr 0.06 sys + 5.62 cusr 1.21 csys = 7.01 CPU) Result: FAIL Failed 1/42 test programs. 1/812 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing IO::Socket::SSL failed. See /Users/kes/.cpanm/work/1705356960.65620/build.log for details. Retry with --force to force install it. 2 distributions installed ```
noxxi commented 8 months ago

This is a duplicate to #147.

EugenKon commented 8 months ago

@noxxi That issue is marked as fixed last month ago. Is it still not released?

karenetheridge commented 8 months ago

I just ran into this also.