X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5FCA385840C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1683531108;
	bh=mW2pT1JHwq5njRDBV1fbEXAVHyfQzTe35c7c3X8WsGA=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=MjC0p+60XN54sbEwCsZ9Z/GKwnAKXFyOox0iaDnFxv4wOVTBjypHbLDD3ZH75+rF/
	 cjvUyrc2Pq68FeFKlc7W9oyVmrJa07ghtXy0Wnn3YkMpj5lFR14f1k5C6IKToT7wuB
	 bp/hlSE7l5V2cg87voNixzwoSr/mkaxn7rIdgAmY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4E803858D32
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: <b31136f2-3401-34a8-ba89-7528c906bcd3@tsoft.com>
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
Subject: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1
 (SSL_TLSEXT_ERR_ALERT_WARNING)
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
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Yuri via Cygwin <cygwin@cygwin.com>
Reply-To: Yuri <yuri@rawbw.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

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



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