Re: Problem with HTTPS in LWP module in Perl - solution

2013-01-08 Thread doesniedoen
FYI, I ran into the same problem, did some wiresharking, and figured out what the differences are between a successful handshake (Firefox) and the failure (LWP using SSLeay/openssl). I'm not too familiar with SSL/TLS etc, but it turns out that the cipher list is way larger using openssl (64 s

Re: Problem with HTTPS in LWP module in Perl

2012-11-07 Thread Björn Kautler
Some additional information, it is also broken in curl. By accident I used GnuWin32 curl and there it worked. Now I used the Cygwin curl and am facing the exact same problem. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Björn Kautler
2012/11/6 Helmut Karlowski : > Achim Gratz, 06.11.2012 17:48:19: > > >> This has nothing to do with Cygwin, the same error happens on Linux: >> >> $ perl -e 'use LWP::Simple;' -e '($r=get("https://www.geocaching.com";)) or >> print "$!\n$@\n";print "$r\n";' >> Connection reset by peer >> Can't conn

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Björn Kautler
2012/11/6 Achim Gratz : > Björn Kautler writes: >> I'm having a problem with https requests to >> "https://www.geocaching.com"; in perl. > > This has nothing to do with Cygwin, the same error happens on Linux: > > $ perl -e 'use LWP::Simple;' -e '($r=get("https://www.geocaching.com";)) or > print

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Helmut Karlowski
Achim Gratz, 06.11.2012 17:48:19: This has nothing to do with Cygwin, the same error happens on Linux: $ perl -e 'use LWP::Simple;' -e '($r=get("https://www.geocaching.com";)) or print "$!\n$@\n";print "$r\n";' Connection reset by peer Can't connect to www.geocaching.com:443 Just got this

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Achim Gratz
Björn Kautler writes: > I'm having a problem with https requests to > "https://www.geocaching.com"; in perl. This has nothing to do with Cygwin, the same error happens on Linux: $ perl -e 'use LWP::Simple;' -e '($r=get("https://www.geocaching.com";)) or print "$!\n$@\n";print "$r\n";' Connection

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Björn Kautler
Yes, seems so, same here with links. But I don't think this is about missing certificates. On Ubuntu it works fine for me and with another server (https://www.kautler.net) where only an expired self-signed certifcate is present, it says that the "Certificate verify failed" if PERL_LWP_SSL_VERIFY_HO

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Helmut Karlowski
Björn Kautler, 06.11.2012 11:57:32: Hi, I think you have hit exactly the same problem than me as far as i can tell from your output, though I didn't use lwp-request but LWP::UserAgent, but I tried with lwp-request and it is the same. Let The same happens with links: links https://www.geocach

Re: Problem with HTTPS in LWP module in Perl

2012-11-06 Thread Björn Kautler
Hi, I think you have hit exactly the same problem than me as far as i can tell from your output, though I didn't use lwp-request but LWP::UserAgent, but I tried with lwp-request and it is the same. Let me explain inline in your mail what I think happened during your tries. 2012/11/1 Reini Urban :

Re: Problem with HTTPS in LWP module in Perl

2012-11-01 Thread Reini Urban
On Thu, Nov 1, 2012 at 1:22 PM, Reini Urban wrote: > On Thu, Nov 1, 2012 at 1:05 PM, Björn Kautler wrote: >> 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

Re: Problem with HTTPS in LWP module in Perl

2012-11-01 Thread Reini Urban
On Thu, Nov 1, 2012 at 1:05 PM, Björn Kautler wrote: > 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