delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/06/08:17:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <op.wncnjduiofd6j1@nebbiolo>
References: <CAKChYSqz8PXYhF3azLRVe=BcAQOC1ZnwzjLAxn7EWw-qKn398w AT mail DOT gmail DOT com> <CAHiT=DEB8MNOX_y8_AJZdRrdO0xnsXwBebuDzt3gue+hj52S_A AT mail DOT gmail DOT com> <CAHiT=DHizS2pnUfe=YpmN+VqQEG-jS-UMPWCvPEj=7KF8zPSCA AT mail DOT gmail DOT com> <CAKChYSq4P9vMUKgJ2CoPdrsWzy99PgNcF4whsBDDGVkB-H+uXA AT mail DOT gmail DOT com> <op DOT wncnjduiofd6j1 AT nebbiolo>
From: =?ISO-8859-1?Q?Bj=F6rn_Kautler?= <Bjoern AT Kautler DOT net>
Date: Tue, 6 Nov 2012 14:16:22 +0100
Message-ID: <CAKChYSpXD9CNbMA05MtC=0oMgTOG48rMOOf=LaWxJYTgDPzYZg@mail.gmail.com>
Subject: Re: Problem with HTTPS in LWP module in Perl
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qA6DHAxN007236

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_HOSTNAME is on or goes on if it is switched off.
Also the certificate is transmitted after the server hello, so it is
"client hello from client to server -> server hello from server to
client -> certificate and other stuff from server to client" but the
timeout happens before the certificates are transmitted during waiting
for the server hello.

The interesting thing is that it works with curl but fails with
lwp-request and links.


2012/11/6 Helmut Karlowski <helmut DOT karlowski AT ish DOT de>:
> 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.geocaching.com
>
> It starts ssl-negotiation, and timeouts later. I also see this with other
> urls, while other https-urls work fine. I guess there are some certificates
> missing or similar, I'm no expert for ssl.
>
> But it seems it's not only perl-related.
>
> --
> Helmut Karlowski
>
>
> --
> 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
>

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019