Security Protocol Changes

- updated the security protocols to use TLS12 and TLS13.
This commit is contained in:
Brett Hewitson 2022-05-06 15:43:35 +10:00
parent 3731ad6655
commit e017c679b9
9 changed files with 78 additions and 9 deletions

View file

@ -32,7 +32,7 @@ namespace ServerManagerTool.Updater
{
Console.Title = "Server Manager Updater";
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityUtils.GetSecurityProtocol(0xC00 + 0x3000); // TLS12, TLS13
var updaterArgs = args;
ApplicationArgs = null;