Last active
October 12, 2015 21:37
-
-
Save mikeobrien/519e0442f2b911e66d3e to your computer and use it in GitHub Desktop.
Hack to force .NET to accept our self signed certs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hack to force .NET to accept our self signed certs | |
ServicePointManager.ServerCertificateValidationCallback = | |
((sender, certificate, chain, sslPolicyErrors) => true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment