Jumping Through Hoops James Higgs’s Blog

Posts Tagged .NET

Posted
1 May 2008 @ 5pm

Tagged
.NET, C#

C#: How to accept an invalid SSL certificate programmatically

In the project I’m working on at the moment, we have a requirement to call some REST services using .NET#’s built-in System.Net.HttpWebRequest class. The calls will eventually be over SSL using a properly issued certificate when we go live, but for testing we’ve been using a self-signed certificate.
When you navigate to an HTTP URL with [...]