in reply to IO::Socket::SSL problem

Did you add :https to the host? Example:
#!/usr/bin/perl use strict; use autodie; use warnings; use IO::Socket::SSL qw/debug3/; my $host = 'localhost:https'; my $ssl_sock = IO::Socket::SSL->new( PeerAddr => $host, PeerPort => 9000, Proto => 'tcp', Reuse => 1, ); $ssl_sock->close('SSL_ctx_free=1');

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL problem
by balle (Novice) on Sep 27, 2012 at 10:55 UTC
    No I didnt add :https to the host, because I want to use Net::Telnet afterwards.