mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-62] Added Tls1.1 and Tls1.2 as allowed protocols
This commit is contained in:
parent
501328079d
commit
addafa51ab
@ -47,6 +47,7 @@ namespace Acacia.ZPush.Connect
|
|||||||
static ZPushConnection()
|
static ZPushConnection()
|
||||||
{
|
{
|
||||||
ServicePointManager.ServerCertificateValidationCallback = HandleCertificateError;
|
ServicePointManager.ServerCertificateValidationCallback = HandleCertificateError;
|
||||||
|
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static readonly Dictionary<string, bool> _allowCertificateErrors = new Dictionary<string, bool>();
|
private static readonly Dictionary<string, bool> _allowCertificateErrors = new Dictionary<string, bool>();
|
||||||
|
Loading…
Reference in New Issue
Block a user