Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 6920949

Browse files
committed
Update the TLS version used in TransparentClientHandler.cs
1 parent 816509f commit 6920949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Titanium.Web.Proxy/TransparentClientHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private async Task handleClient(TransparentBaseProxyEndPoint endPoint, TcpClient
7171
await CertificateManager.CreateServerCertificate(certName);
7272

7373
// Successfully managed to authenticate the client using the certificate
74-
await sslStream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls, false);
74+
await sslStream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls12, false);
7575

7676
// HTTPS server created - we can now decrypt the client's traffic
7777
clientStream = new HttpClientStream(clientStream.Connection, sslStream, BufferPool, cancellationToken);

0 commit comments

Comments
 (0)