in reply to SSL/TCP Sockets

Here is what I've gotten so far, by turning debug on with IO:Socket:SSL

DEBUG: .../IO/Socket/SSL.pm:1436: new ctx 161730848 DEBUG: .../IO/Socket/SSL.pm:310: socket not yet connected DEBUG: .../IO/Socket/SSL.pm:312: socket connected DEBUG: .../IO/Socket/SSL.pm:325: ssl handshake not started DEBUG: .../IO/Socket/SSL.pm:368: Net::SSLeay::connect -> 0 DEBUG: .../IO/Socket/SSL.pm:416: connection failed - connect returned +0 DEBUG: .../IO/Socket/SSL.pm:1177: SSL connect attempt failed because o +f handshake problemserror:00000000:lib(0):func(0):reason(0) DEBUG: .../IO/Socket/SSL.pm:1471: free ctx 161730848 open=161730848 DEBUG: .../IO/Socket/SSL.pm:1479: OK free ctx 161730848 DEBUG: .../IO/Socket/SSL.pm:1177: SSL object already closederror:00000 +000:lib(0):func(0):reason(0) DEBUG: .../IO/Socket/SSL.pm:1177: IO::Socket::INET configuration faile +derror:00000000:lib(0):func(0):reason(0) Could not create socket: IO::Socket::INET configuration failederror:00 +000000:lib(0):func(0):reason(0) at ./proc_ssl.pl line 10.

Replies are listed 'Best First'.
Re^2: SSL/TCP Sockets
by Anonymous Monk on Oct 19, 2011 at 17:42 UTC
    did you ever figure this out?
      I found the problem to be due to the openssl library in use. The "fix" was to switch from 1.0.1 back to 0.9.8. If you use 1.0.1 openssl command line to connect to a server you will receive the same error regarding handshaking failure.