diff --git a/src/Certify.Shared/Utils/Util.cs b/src/Certify.Shared/Utils/Util.cs index 9eb725af3..44498ee31 100644 --- a/src/Certify.Shared/Utils/Util.cs +++ b/src/Certify.Shared/Utils/Util.cs @@ -160,15 +160,7 @@ public static void SetSupportedTLSVersions() { try { - ServicePointManager.SecurityProtocol = 0; // System Default - Debug.WriteLine("ServicePointManager.SecurityProtocol : System Default enabled"); - return; - } - catch { } - - try - { - ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | (SecurityProtocolType)1228; + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | (SecurityProtocolType)12288; return; } catch