DEBUG: .../IO/Socket/SSL.pm:2807: new ctx 60600432 DEBUG: .../IO/Socket/SSL.pm:659: socket not yet connected DEBUG: .../IO/Socket/SSL.pm:661: socket connected DEBUG: .../IO/Socket/SSL.pm:684: ssl handshake not started DEBUG: .../IO/Socket/SSL.pm:717: using SNI with hostname server name DEBUG: .../IO/Socket/SSL.pm:752: request OCSP stapling DEBUG: .../IO/Socket/SSL.pm:773: set socket to non-blocking to enforce timeout=120 DEBUG: .../IO/Socket/SSL.pm:786: call Net::SSLeay::connect DEBUG: .../IO/Socket/SSL.pm:789: done Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:799: ssl handshake in progress DEBUG: .../IO/Socket/SSL.pm:809: waiting for fd to become ready: SSL wants a read first DEBUG: .../IO/Socket/SSL.pm:829: socket ready, retrying connect DEBUG: .../IO/Socket/SSL.pm:786: call Net::SSLeay::connect DEBUG: .../IO/Socket/SSL.pm:2661: ok=0 [0] SERVER NAME DEBUG: .../IO/Socket/SSL.pm:789: done Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:792: SSL connect attempt failed DEBUG: .../IO/Socket/SSL.pm:792: local error: SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed DEBUG: .../IO/Socket/SSL.pm:795: fatal SSL error: SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed DEBUG: .../lib/IO/Socket.pm:49: ignoring less severe local error 'IO::Socket::IP configuration failed', keep 'SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed' DEBUG: .../IO/Socket/SSL.pm:2829: free ctx 60600432 open=60600432 DEBUG: .../IO/Socket/SSL.pm:2833: free ctx 60600432 callback DEBUG: .../IO/Socket/SSL.pm:2840: OK free ctx 60600432 Bad file descriptor at ldaps_connection.pl line 8, line 960.