Re: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)

2023-05-08 Thread Yuri via Cygwin
On 5/8/23 10:40, Achim Gratz via Cygwin wrote: The port might not be open in the standard configuration of the Windows firewall. Maybe you can use either openssl or curl to check what happens when you are trying to connect. It looks like this function is used incorrectly, and it actually suc

Re: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)

2023-05-08 Thread Yuri via Cygwin
On 5/8/23 08:31, Brian Inglis wrote: Which Cygwin, ssl/tls-devel libraries, and ca-certificates... packages and versions are you using? libssl-devel-1.1.1t-1 openssl-1.1.1t-1 ca-certificates-2021.2.60-1 $ man SSL_set_tlsext_host_name says SSL_set_tlsext_host_name etc. returns 1 for s

OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)

2023-05-08 Thread Yuri via 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 Li