justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.93k stars 618 forks source link

Update the TLS version used in TransparentClientHandler.cs #789

Closed keyoti closed 4 years ago

keyoti commented 4 years ago

Doneness:

I found that using Titanium as a reverse proxy doesn't work with HTTPS unless you update the TLS version to 1.2 because most browsers are not accepting the older version used as default.

lslqtz commented 3 years ago

I encountered a situation where the client software does not support SSL versions above TLSv1.0 (or TLSv1.1), and I tried to downgrade back to before this change, but the browser will prompt that the SSL version is too old (NET::ERR_SSL_OBSOLETE_VERSION) So I changed it to SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12, this solves all my problems