Skip to content

Instantly share code, notes, and snippets.

@RAGNOARAKNOS
Created July 12, 2016 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RAGNOARAKNOS/3208ecd03a86299f989632d97016fe9e to your computer and use it in GitHub Desktop.
Save RAGNOARAKNOS/3208ecd03a86299f989632d97016fe9e to your computer and use it in GitHub Desktop.
Remove those pesky SSL failures in a devtest environment
using System.Net;
// Apply SSL authentication workaround to bypass SSL enforcement for local development
ServicePointManager.ServerCertificateValidationCallback =
(sender, cert, chain, sslPolicyErrors) => true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment