balle has asked for the wisdom of the Perl Monks concerning the following question:
Hi all!
I try to establish a ssl connection with IO::Socket::SSL (newest version), but i always get the error
IO::Socket::INET6 configuration failed error:00000000:lib(0):func(0):reason(0)I've read that I should also use the newest version of Socket6, but that still does not solve my problem.
Here's the code maybe someone can enlight me what I am doing wrong?
my $ssl_sock = new IO::Socket::SSL( PeerAddr => $host, PeerPort=> 23, Proto => 'tcp', Reuse => 1, SSL_verify_mode => 0, SSL_verifycn_scheme => undef) || warn "Problem establishing SSL so +cket: " . IO::Socket::SSL::errstr() . "\n";
TIA && have a nice day!
Balle
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: IO::Socket::SSL problem
by Anonymous Monk on Sep 27, 2012 at 08:57 UTC | |
by balle (Novice) on Sep 27, 2012 at 09:00 UTC | |
by Anonymous Monk on Sep 27, 2012 at 09:03 UTC | |
by balle (Novice) on Sep 27, 2012 at 09:07 UTC | |
by Anonymous Monk on Sep 27, 2012 at 09:16 UTC | |
| |
Re: IO::Socket::SSL problem
by Khen1950fx (Canon) on Sep 27, 2012 at 10:24 UTC | |
by balle (Novice) on Sep 27, 2012 at 10:55 UTC |