From 3e6565e8d1356541f4e311a0e5d62388058a453f Mon Sep 17 00:00:00 2001 From: Khang Yeen Lee Date: Tue, 14 Nov 2017 16:29:14 +0100 Subject: [PATCH] #82: TLS fix to support Jenkins 2.73.1, contributed by @JeanFrancoeur. --- JenkinsTray/BusinessComponents/JenkinsService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/JenkinsTray/BusinessComponents/JenkinsService.cs b/JenkinsTray/BusinessComponents/JenkinsService.cs index 05b1f25..7c46ade 100644 --- a/JenkinsTray/BusinessComponents/JenkinsService.cs +++ b/JenkinsTray/BusinessComponents/JenkinsService.cs @@ -386,6 +386,7 @@ private string DownloadString(Credentials credentials, string url, bool cacheabl JenkinsService.ignoreUntrustedCertificate = ignoreUntrustedCertificate; var webClient = GetWebClient(credentials); + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; res = webClient.DownloadString(url); if (logger.IsTraceEnabled)