Add support for TLS 1.2 additionally to TLS 1.3

This commit is contained in:
Resaec 2023-08-01 18:14:39 +02:00
parent 823819847b
commit c72061bc0e

View file

@ -73,7 +73,7 @@ namespace PSLauncher
new HttpClientHandler()
{
AllowAutoRedirect = false,
SslProtocols = System.Security.Authentication.SslProtocols.Tls13,
SslProtocols = System.Security.Authentication.SslProtocols.Tls13 | System.Security.Authentication.SslProtocols.Tls12,
}
)
{