Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

Links

XODOX
Impressum

#1: IO::Socket::INET configuration failed

Posted on 2007-11-17 09:04:24 by Janwillem Borleffs

Hi,

I'm encountering a problem with the IO::Socket::SSL package. When I execute
the following code in a mod_perl2 environment, I get a 'IO::Socket::INET
configuration failed' error:

my $socket = IO::Socket::SSL->new('host:port');

This works fine in a mod_perl 1 environment and from the command line. The
latest IO::Socket::SSL version I tried is 0.97 & the latest IO::Socket::INET
version 1.29 (tried other versions of both packages too).

Increasing debugging levels didn't provide more information nor did a search
on Google.

Do you know how to solve the problem?


Cheers,
JW

Report this message

#2: Re: IO::Socket::INET configuration failed

Posted on 2007-11-18 00:00:05 by Janwillem Borleffs

Janwillem Borleffs wrote:
> I'm encountering a problem with the IO::Socket::SSL package. When I
> execute the following code in a mod_perl2 environment, I get a
> 'IO::Socket::INET configuration failed' error:
>

After some extended debugging, I encountered the following message:

IO::Socket::SSL SSL23_CLIENT_HELLO:no ciphers available

The message was shown from the following line of code:

my $socket = IO::Socket::SSL->new('host:port') or die $@;

Again, running the script from the command line did not result in any error
message.

Looking at the openssl configuration, ciphers *are* available. To ensure
that both mod_perl & command line use the same openssl version, I changed
the one under /apache2 to a symlink to the /usr/local/ssl distribution
(which I assume is used when running the succeeding command line script).


Regards,
JW

Report this message