From 2644fd813ed48f6bafd01f8dbe805aac89105bce Mon Sep 17 00:00:00 2001 From: flightlevel Date: Wed, 18 May 2016 20:33:37 +1000 Subject: [PATCH] Bluetigers fix SSL issue (#346) --- src/Jackett/Utils/Clients/HttpWebClient.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Jackett/Utils/Clients/HttpWebClient.cs b/src/Jackett/Utils/Clients/HttpWebClient.cs index 2e2602d05..19beed14e 100644 --- a/src/Jackett/Utils/Clients/HttpWebClient.cs +++ b/src/Jackett/Utils/Clients/HttpWebClient.cs @@ -46,6 +46,8 @@ namespace Jackett.Utils.Clients private async Task Run(WebRequest webRequest) { + ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072; + var cookies = new CookieContainer(); if (!string.IsNullOrEmpty(webRequest.Cookies)) {