Accepting invalid Certificates for WCF/Web Services/HttpWebRequest gets easier
Posted by: Rick Strahls WebLog,
on 12 Dec 2007 |
View original | Bookmarked: 0 time(s)
Looks like .NET 3.0/3.5 has updated functionality to allow setting certificate certificate polices. In fact I noticed that the old mechanism I showed in an earlier post has been marked as obsolete, but there's a nicer replacement mechanism available now. I frequently use Certificate policy to disable certificate validation while testing SSL requests. In more than a few scenarios I've ended up trying to call test Web services that are secured with expired or otherwise invalid certs and it can be...