I am having trouble connecting to an Oracle
webserver
using Openssl 0.9.6, but I seam to be able to
connect
to any other server using https. I am using
Crypt::SSLeay 22,
but the problem seems to be openssl related rather
that
Crypt related (I have problems within s_client
also).
Having suspected ssl version connect problems, I
have played
around with specifying an initial ssl version of
both 3, and 2
in SSL.pm. Ultimately, the same error gets
produced no matter
what the setting is. There are basically two
unique things
about the server I can't connect to, they
are:
1) The public key length is 512 Bits.
2) The server software is ver old. It is
using the
Oracle webserver version 2.1.1. This is
mainly because
versions 3.x and 4.x were terrible releases that
never should
have gone into production, OWS 2.1.1 is mush more
robust,
and faster. Version 2.1 of the Oracle
webserver is based
on Spyglass.
The error that I am getting is :
[dhenriks@www2 imc]$ perl getit.pl
ssl_version 23 SSL_connect:before/connect initialization SSL_connect:SSLv2/v3 write client hello A SSL_connect:SSLv2 read server hello A SSL_connect:SSLv2 write client master key A SSL_connect:SSLv2 client start encryption SSL_connect:SSLv2 write client finished A SSL_connect:failed in SSLv2 read server verify A ssl_version 3 SSL_connect:before/connect initialization SSL_connect:SSLv3 write client hello A SSL_connect:failed in SSLv3 read server hello A ssl_version 2 SSL_connect:before/connect initialization SSL_connect:SSLv2 write client hello A SSL_connect:SSLv2 read server hello A SSL_connect:SSLv2 write client master key A SSL_connect:SSLv2 client start encryption SSL_connect:SSLv2 write client finished A SSL_connect:failed in SSLv2 read server verify A Can't call method "request" on an undefined value at /usr/lib/perl5/site_perl/5. 005/LWP/UserAgent.pm line 227. Any ideas ? In a message in some other list I
saw something
about setting SSL_VERIFY_NONE as a possible remedy,
but
I'm not sure how to do this from within
Crypt::SSLeay.
Thanks,
Dave
Henriksen |