From addafa51abf23151f9ccb0d8e52faad1dd4152ea Mon Sep 17 00:00:00 2001 From: Patrick Simpson Date: Wed, 18 Jan 2017 11:45:52 +0100 Subject: [PATCH] [KOE-62] Added Tls1.1 and Tls1.2 as allowed protocols --- .../AcaciaZPushPlugin/ZPush/Connect/ZPushConnection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/Connect/ZPushConnection.cs b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/Connect/ZPushConnection.cs index e527ed8..8469e53 100644 --- a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/Connect/ZPushConnection.cs +++ b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/Connect/ZPushConnection.cs @@ -47,6 +47,7 @@ namespace Acacia.ZPush.Connect static ZPushConnection() { ServicePointManager.ServerCertificateValidationCallback = HandleCertificateError; + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; } private static readonly Dictionary _allowCertificateErrors = new Dictionary();