This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with HTTPS in LWP module in Perl


Hi,

I'm having a problem with https requests to
"https://www.geocaching.com"; in perl.
Nothing was done at all, then I found out I need to install
LWP::Protocol:https which I did with "cpan LWP::Protocol:https".
Now according to Wireshark at least SSL communication is started.
But after the "Client Hello" it just hangs until a timeout happens,
waiting for the "Server Hello".
With other HTTPS pages like "https://www.google.com"; it works fine.
The exact same Perl script works fine under Ubuntu.
The https request to the same page works fine with curl under cygwin.
If I change the SSL socket class to Net::SSL instead of
IO::Socket::SSL, it also hangs after the "Client Hello", but then
retries with SSLv3 instead of TLSv1 according to Wireshark and this at
least works a bit better though not completely.
So I guess something is weird in the Cygwin port of IO::Socket::SSL. :-/

Regards
Björn

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]