ichudov has asked for the wisdom of the Perl Monks concerning the following question:

I had a script that worked great in Ubuntu 10.04. It created a SSL connection to craigslist and did something (nothing horrible, I assure you, I just posted my for sale ads periodically for items that I personally own). After upgrade of ubuntu to 12.04, It no longer works. In the quest for the solution, I narrowed this down to the following problem: If it uses Net::SSLeay, it fails to connect to Craigslist via HTTPS. But it does succeed if I use Net::SSL. Example: $ lwp-request 'https://www.google.com/' (good output of google home page) $ lwp-request 'https://post.craigslist.org/' Can't connect to post.craigslist.org:443 LWP::Protocol::https::Socket: SSL connect attempt failed because of handshake problemserror:00000000:lib(0):func(0):reason(0) at /usr/share/perl5/LWP/Protocol/http.pm line 51.

Replies are listed 'Best First'.
Re: lwp-request works poorly with SSL
by Anonymous Monk on May 29, 2013 at 04:23 UTC