in reply to Socket problems and SSL

" I guess my question is this, when specifying an Internet style socket, are requests that are addressed to the originating machine handled any differently internally than requests that are addressed to a different IP? "

Nope, even loopback is a psuedo device, so sending to that will not make a difference. I dont think were dealing with a code problem persay, or a socket problem, nor is it an operating system problem, in my thinking it is an arcitecture issue, as I am typing this I am compiling all the needed modules to debug further into this on a sparc processor (for it seeminly runs just fine using x86).

It turns out it worked fine on my sparc (OpenBSD sparc SUNW,SPARCstation-5, MB86907 @ 170 MHz, on-chip FPU), and after looking at the acctuall SSL.pm, it might be an issue with your installation of SSL, try grabbing a brand spanking new copy of ssl, recompile your https against it, and same with Net::SSL, make sure both the server and the program are reading from the same page.

Ill post more as I dig more into it and try to recreate the error, btw: what web server are you running?

Replies are listed 'Best First'.
Re: Re: Socket problems and SSL
by shotgunefx (Parson) on Jul 10, 2001 at 05:32 UTC
    Thanks for testing it.

    I'm running Apache 1.3.9

    I've tried using both openssl-9.6 and openssl-9.6a

    I've reinstalled dozens of times (Tried to even go back to earlier versions of everything, all with the exact same results.)

    What I'm actually trying to do is use SOAP::Lite to communicate with a service via SSL. (It worked fine over HTTP) When it started failing mysteriously, I decided to try it with lwp, etc and they all have the same results.

    One thing I have noticed is that when install Net::SSLeay, it is able to contact all test sites which makes me think the problem is somewhere inbetween IO::Socket::INET and IO::Socket::SSL. I have a feeling that it's some wrong define or constant in one of the headers or some other obscure glitch. It's hard for me to know where to begin with all the oo inheritence.

    Through adding warnings, etc to Net::SSL I can tell that it does try and negotiate versions 3,23 and 2 yet all fail. The site I am trying to connect to is using 23 and I am able to communicate with it using a linux/intel box with the same versions of LWP,Net::SSLeay, etc installed.

    Thanks,
    -Lee

    "To be civilized is to deny one's nature."