diff --git a/src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs b/src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs index f54d1fac9..79e559e46 100644 --- a/src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs +++ b/src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs @@ -1,4 +1,5 @@ using System; +using System.Net; using System.Reflection; using System.Text.RegularExpressions; using RestSharp; @@ -14,6 +15,8 @@ public class GitHubReleaseInfoReader : IReleaseInfoReader public GitHubReleaseInfoReader() { + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; + _restClient = new RestClient("https://api.github.com/"); _latestReleaseInfo = ReadGitHubLatestReleaseInfo();