Skip to content

Commit

Permalink
Merge pull request #3066 from jtrinklein/use-tls-12
Browse files Browse the repository at this point in the history
Use TLS 1.2 for WebProxyRequests
  • Loading branch information
forki authored Feb 23, 2018
2 parents 2005c19 + d118d70 commit f654969
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Paket.Bootstrapper/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@

namespace Paket.Bootstrapper
{

static class Program
{
private static readonly Stopwatch executionWatch = new Stopwatch();

static void Main(string[] args)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls
| SecurityProtocolType.Ssl3;
executionWatch.Start();
Console.CancelKeyPress += CancelKeyPressed;

Expand Down

0 comments on commit f654969

Please sign in to comment.