Mono doesn't seem to have Tls1.2. Let's try TLS 1 #119

This commit is contained in:
tidusjar 2016-03-29 14:31:39 +01:00
commit 0429530bf3

View file

@ -123,7 +123,7 @@ namespace PlexRequests.UI
FormsAuthentication.Enable(pipelines, formsAuthConfiguration);
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls;
ServicePointManager.ServerCertificateValidationCallback +=
(sender, certificate, chain, sslPolicyErrors) => true;