Hello.

My administrator has installed Crypt::SSLeay 0.16 and OpenSSL 0.9.4 on an AIX
4.2 box.
We are using Perl 5.00502.  When I try to run the net_ssl_test executable, I get
 the following:

/development/prevette/perl_install/Crypt-SSLeay-0.16>net_ssl_test HEAD
webdata1.place.lexmark.com 443
Net::SSL: SSL negotiation failed at ./net_ssl_test line 9
Net::SSL: A file descriptor does not refer to an open file. at ./net_ssl_test
line 9
Net::SSL: A file descriptor does not refer to an open file. at ./net_ssl_test
line 9
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/aix/Net/SSL.pm line 53.
Net::SSL: A file descriptor does not refer to an open file. at ./net_ssl_test
line 9
Can't connect to webdata1.place.lexmark.com:443 at ./net_ssl_test line 9.

I have gone line by line through the debugger.  It appears that a good socket
connection is
made to the server when it gets to Net::SSL::connect.  But when it gets to the
line
my $ssl = Crypt::SSLeay::Conn->new(*$self->{'ssl_ctx'}, $self);
it is never successful.  $ssl->connect will always return -1 no matter if it
tries ssl_version 23, 3, or 2.
My web server administrator tells me that 2 or 3 should be fine for that
machine.  How can I test
OpenSSL to make sure that it is not causing the problem?
Any diagnostic tips would be greatly appreciated.

Thanks in advance,
Dan Prevette


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to