X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E4993858427
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1710800371;
	bh=l3yowHAzW+d0gYEPc4G3qE3kIuEUyljLX4/qebQZqoc=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=RyOT807I+0Nsz5BNP1Px16QQTdekYt5fxkL63DdjsosoVFsrXkRc1G8GlHNW3wZcg
	 qURTsrI7uv7LwkrzLKB8CP+dO3wqFc0pjDhwlPEc1EAeO+nX++NP/edihN/79BrwWo
	 G50MoIL9scEl5i497UTCxGMUB6GJp/NxmYgPJK+c=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6849B3858414
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6849B3858414
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710800349; cv=none;
 b=tPTi79WeE/jQIsrE8t+oEzUWhfhPVJgjR43LxHNnjx4vl5ikcZnXpZj/izTlvrdKpCrORfZLOWcalqGupyfO4GCKvQtUJDhjaG9n/ITd3JiHoFzc9wxywtB8FYdT8wB5qtRqLEDXJu+EQl1DwrKtW72zP54tzLZyECWntfNUet0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1710800349; c=relaxed/simple;
 bh=kAYjSWiZOv21pNSil9y80izv4MMMip4LdmyHrseCkik=;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=DHbnfUHKb4cb0eLS5QnPFOMfAdp71STyaUgBA4UjvOIGomnm3nUPRYk0OEYYIhElrT1V56ar9M9bNeqWnUSv+FikmKc3IppCu34TbiH2ZoTVvkBcVxqpneACZd+/4IA2z6wp+EllREMzIwHqgX2fSeYn1GGMQvC+NSGi7esqw/o=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <a56e15dd-1ecf-42f5-ac98-e027d358cf41@SystematicSW.ab.ca>
Date: Mon, 18 Mar 2024 16:19:00 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Getting error 60 of curl to cygwin setup
Content-Language: en-CA
To: cygwin@cygwin.com
References: <CAL8MddVRquNVBMfCtzrLGmrthHHGoyUw9Qfkqg_S6f0FOxJXUg@mail.gmail.com>
Organization: Systematic Software
In-Reply-To: <CAL8MddVRquNVBMfCtzrLGmrthHHGoyUw9Qfkqg_S6f0FOxJXUg@mail.gmail.com>
X-Rspamd-Queue-Id: 81B2E18
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_EXEURI, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
 SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
 UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6
X-Stat-Signature: ff8di4kdwrzkasg71bzo39iab5w6mn8a
X-Rspamd-Server: rspamout04
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19YTU50BK4j1vPLXAvrI0eN/4RMSFM6/QE=
X-HE-Tag: 1710800341-629228
X-HE-Meta: U2FsdGVkX186XrFkOb9JJebejdGdE9Q2z6bgZcBHnpUdhtLHRJBynhrbFYQC1jjo+3OyRSiJRotP4rvLitRq/Z9BGlikseKR9bGrQ/73YQlmTG14TbDWleHIxW+hNoE11X2CWBWuznsPiskldO3sLEbnejxBRllqgFfDtYSXjSiyRJHBODIrxYhwffBI/RHXUGZz991HMzPxg8rb2gaXYnCb37C4RrljD7ib/rs0FBKZmiGCiFaS31Fyfox9obb0bzDgm5caabzlniOIhjgAI3i614ln1+mD/99nAlvs7f6RegRN0HFeWa8EA+zcsWguQD+17/UkkEy1yjSvQ9IzJs6sSCEjFZklNMYlaPj58/vaEBRkOr9W1wIvNMW0vsFKskUQdPKhmhfQxjQF9Oa0QQ==
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 42IMJWwv497632

On 2024-03-18 15:21, J M via Cygwin wrote:
> With a fresh install of Cygwin then I launch (with package curl installed):
> 
> curl -O https://www.cygwin.com/setup-x86_64.exe
> 
> Shows a curl 60 error ssl problem.
> Using -k or --insecure works, but is not recomended.
> Howto fix it?

WJFFM!

That error implies that the version of curl you are running or the certificate 
store you are using does not include the Let's Encrypt CA used by Cygwin.com.

 From what shell do you launch curl?

Please run:

which -a curl

and ensure that /usr/bin/curl precedes /cygdrive/c/WINDOWS/system32/curl then
run:

$ curl -V
curl 8.6.0 (x86_64-pc-cygwin) libcurl/8.6.0 OpenSSL/3.0.13 zlib/1.3.1 
brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 
nghttp2/1.60.0 libgsasl/2.2.1 OpenLDAP/2.6.7
Release-Date: 2024-01-31
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns 
ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli gsasl GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 
Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

and check you get the same output as above, then run:

cygcheck -c ca-certificates ca-certificates-letsencrypt curl cygwin \
libbrotlidec1 libcurl4 libgsasl18 libgssapi_krb5_2 libidn2_0 libnghttp2_14 \
libopenldap2 libpsl5 libssh2_1 libssl3 libzstd1 zlib0

and ensure all packages show Status OK.

If that is the case, please follow the problem reporting guidelines below, and 
attach the output from running

cygcheck -hrsv > cygcheck-hrsv.log

as a text attachment to your reply.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

