Is there any way I can hook Fiddler up to capture https requests and responses made using .NET HttpWebRequest and HttpWebResponse?
I have application that requests some url's.
Next code help me capture all http requsts using fiddler
WebRequest.DefaultWebProxy = new WebProxy("127.0.0.1", 8888);
But I have problems when application get https requests.
Solution is in adding
ServicePointManager.ServerCertificateValidationCallback = Validator
with
bool Validator (object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; }
thanks for Martin Baulig