Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: SSL/TCP Sockets

by Trihedralguy (Pilgrim)
on Jun 15, 2009 at 16:48 UTC ( #771715=note: print w/replies, xml ) Need Help??

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/ new ctx 161730848 DEBUG: .../IO/Socket/ socket not yet connected DEBUG: .../IO/Socket/ socket connected DEBUG: .../IO/Socket/ ssl handshake not started DEBUG: .../IO/Socket/ Net::SSLeay::connect -> 0 DEBUG: .../IO/Socket/ connection failed - connect returned +0 DEBUG: .../IO/Socket/ SSL connect attempt failed because o +f handshake problemserror:00000000:lib(0):func(0):reason(0) DEBUG: .../IO/Socket/ free ctx 161730848 open=161730848 DEBUG: .../IO/Socket/ OK free ctx 161730848 DEBUG: .../IO/Socket/ SSL object already closederror:00000 +000:lib(0):func(0):reason(0) DEBUG: .../IO/Socket/ 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 ./ 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771715]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-01-21 02:11 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (180 votes). Check out past polls.