public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yuri <yuri@rawbw.com>
To: cygwin@cygwin.com
Subject: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)
Date: Mon, 8 May 2023 00:31:09 -0700	[thread overview]
Message-ID: <b31136f2-3401-34a8-ba89-7528c906bcd3@tsoft.com> (raw)

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



             reply	other threads:[~2023-05-08  7:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-08  7:31 Yuri [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b31136f2-3401-34a8-ba89-7528c906bcd3@tsoft.com \
    --to=yuri@rawbw.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).