public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)
@ 2023-05-08  7:31 Yuri
  2023-05-08 10:12 ` Andrey Repin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yuri @ 2023-05-08  7:31 UTC (permalink / raw)
  To: cygwin

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-06 17:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-08  7:31 OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING) Yuri
2023-05-08 10:12 ` Andrey Repin
2023-05-08 15:31 ` Brian Inglis
2023-05-08 17:25   ` Yuri
2023-05-08 17:40 ` Achim Gratz
2023-05-08 17:50   ` Yuri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).