How do I prevent an https response from throwing an AuthenticationException with Fiddler running?

Posted by Ichabod Clay on Stack Overflow See other posts from Stack Overflow or by Ichabod Clay
Published on 2012-06-27T02:15:20Z Indexed on 2012/06/27 3:16 UTC
Read the original article Hit count: 191

Filed under:
|
|
|

Relative newbie to C# here :)

I'm currently creating a web link scraper and having issues with the responses I'm getting when trying to login to the website via my program. I'm trying to use Fiddler to see if my program is sending the proper data, but my program is throwing an AuthenticationException when trying to get a response from the site with Fiddler running. The requests are being sent over HTTPS and Fiddler's certificate is the cause of the excepting being thrown.

My question is, what can I implement into my program to have it disregard the certificate authentication? As far as my program goes, the requests and responses are being handled by HttpWebRequest and HttpWebResponse classes.

© Stack Overflow or respective owner

Related posts about c#

Related posts about https