|
|
Question : How do I Install SSL 128bit for LWP ?
|
|
Im using ActiveState Perl v5.8.0 under Windows 2000. Im trying to connect to an HTTPS website but keep getting back HTTP error code 500: --- ===REQUEST=== GET https://www.gradwell.com/ Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/x-shockwave-flash, */* Accept-Language: en-us Host: www.gradwell.com User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705 ) Content-Type: application/x-www-form-urlencoded
===RESPONSE=== [Code=500][Success=False]
xxx Request/Verify Failed xxx 500 (Internal Server Error) Can't locate object method "new" via package "LWP::Protocol::https::Socket" Client-Date: Fri, 19 Sep 2003 21:31:46 GMT
---
It seems SSL has not been installed for LWP use. How do i install it? I've already gone to PPM and typed: install Crypt::SSLeay
but only get back the error message: "Searching for 'Crypt::SSLeay' returned no results. Try a broader search first."
Thanks.
|
Answer : How do I Install SSL 128bit for LWP ?
|
|
SSL is not included with LWP because of the export issues but LWP does support the use of Crypt::SSLeay and IO::Socket::SSL.
I had trouble finding a win32 version of Crypt::SSLeay and IO::Socket::SSL just kept failing on my machine. In the end I found that Net::SSLeay (a more complete version of Crypt::SSLeay) worked well and I now use that.
I found the following non-activestate link that worked fine for me:
For 5.6.1: install http://www.gossamer-threads.com/ppm/Net-SSLeay-1.22-5.6.1.ppd
Or, for 5.8.0: install http://www.gossamer-threads.com/ppm/Net-SSLeay-1.22-5.8.0.ppd
Regards, f.
|
|
|
|
|