From 6322555abb2c9366fefd7880895108acf414209a Mon Sep 17 00:00:00 2001 From: ddemeyer Date: Tue, 9 Aug 2022 17:48:13 +0200 Subject: [PATCH] #102 Extended ServicePointManager.SecurityProtocol with Tls13 and because branch release/v1 is a Windows PowerShell 5.1 and .NET Framework 4.8 only we can Close #102 --- .../HelperClasses/ServicePointManagerHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/ServicePointManagerHelper.cs b/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/ServicePointManagerHelper.cs index ef39a0b6..64427a71 100644 --- a/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/ServicePointManagerHelper.cs +++ b/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/ServicePointManagerHelper.cs @@ -37,8 +37,8 @@ public static class ServicePointManagerHelper /// public static void RestoreCertificateValidation() { - _logger.WriteDebug("Enabling Tls, Tls11 and Tls12 security protocols"); - ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; + _logger.WriteDebug("Enabling Tls, Tls11, Tls12 and Tls13 security protocols"); + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13; } } }