Skip to content

Commit

Permalink
Merge pull request win-acme#219 from strifejester/patch-1
Browse files Browse the repository at this point in the history
Remove TLS 1.0 as it is deprecated
  • Loading branch information
rkerber committed May 20, 2016
2 parents 20c2b4f + 5627d83 commit 9ebdd04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions letsencrypt-win-simple/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ private static void Main(string[] args)
.CreateLogger();
Log.Information("The global logger has been configured");

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 |
SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

var commandLineParseResult = Parser.Default.ParseArguments<Options>(args);
var parsed = commandLineParseResult as Parsed<Options>;
Expand Down Expand Up @@ -1138,4 +1137,4 @@ private static String ReadPassword()
return password.ToString();
}
}
}
}

0 comments on commit 9ebdd04

Please sign in to comment.