Skip to content

Instantly share code, notes, and snippets.

@mikeobrien
Last active October 12, 2015 21:37
Show Gist options
  • Save mikeobrien/519e0442f2b911e66d3e to your computer and use it in GitHub Desktop.
Save mikeobrien/519e0442f2b911e66d3e to your computer and use it in GitHub Desktop.
Hack to force .NET to accept our self signed certs
// 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