From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by sourceware.org (Postfix) with ESMTP id B4E803858D32 for ; Mon, 8 May 2023 07:31:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4E803858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=rawbw.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rawbw.com Received: from [192.168.5.3] (c-73-202-23-161.hsd1.ca.comcast.net [73.202.23.161]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 3487VAIU053859 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 8 May 2023 00:31:10 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-202-23-161.hsd1.ca.comcast.net [73.202.23.161] claimed to be [192.168.5.3] Message-ID: Date: Mon, 8 May 2023 00:31:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 To: cygwin@cygwin.com Content-Language: en-US From: Yuri Subject: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I've built the proxytunnel project in Cygwin (https://github.com/proxytunnel/proxytunnel). It is usually used to tunnel ssh through https using the https CONNECT command. The command "proxytunnel --no-check-certificate -E -p {https-proxy-host}:{https-proxy-port} -d 127.0.0.1:22" works on Linux and BSD. However, it fails in Cygwin with the exit code 1 (SSL_TLSEXT_ERR_ALERT_WARNING), which causes this error message in proxytunnel: > SSL_set_tlsext_host_name returned: 1 (0x1). TLS SNI error, giving up This prevents proxytunnel from being able to connect to the remote peer. What might be wrong? Thank you, Yuri