We recently tried to deploy an application on a new machine (x86_64, Suse Linux 10) but couldn't get Crypt::SSLeay to compile which we need to do SSL-Requests through LWP.
As an alternative we implemented a new Protocol-Implementor for LWP that makes https requests using wget. Of course, we found out that wget had really buggy http header handling until version 1.10 which is not widely deployd yet. But once you install the new version it works fine. The module supports basic authentication, http headers, get and post which is enough to use it as a transport layer for SOAP::Lite.
There are probably quite a few bugs lurking in this thing and it only really works with newer version of wget, but it might still be interesting for some desperate people :)
If people are interested we'll release it to CPAN once things have settled done here a little.
-Dom
Re:IO::Socket::SSL
malte on 2006-07-05T17:33:53
We didn't try it, but it looks like it might run into silimar compilation problems. We can't really try it out now either, because the problem only occurs on the production machines (Which is really weird because the test machines are 99.999% identical).
Does the module provide an Interface to LWP? If not it might be a good thing to implement the neccessary glue.
Re:IO::Socket::SSL
Dom2 on 2006-07-05T17:51:56
LWP auto-detects Crypt::SSLeay vs IO::Socket::SSL and does the appropriate thing.We actually moved to Crypt::SSLeay because of the timeout issue, but both should work.
What was the compilation issue?
-Dom
Re:IO::Socket::SSL
malte on 2006-07-06T05:58:14
Hhmm, I don't really remember the exact issue. What I do remember is that other people on the net (at least according to google:) seemed o have has similar problems with Crypt::SSLeay, specific archs and the latest version of OpenSSL.