Debugging HTTPS traffic with Fiddler on a Windows Phone emulator

I followed Eric's advice and it works fine, except that requests using https through HttpWebRequest cannot connect. In Fiddler, I see a Connect request that seems to return a penalty, and then my HttpWebRequest gets the result with ArgumentNullException argument.

Here is the exception call stack:

   at System.IO.StringReader..ctor(String s)
   at System.Net.Browser.HttpWebRequestHelper.ParseHeaders(Uri requestUri, SecurityCriticalDataForMultipleGetAndSet`1 headers, WebHeaderCollection collection, Boolean removeHttpOnlyCookies, HttpStatusCode& status, String& statusDescription)
   at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, Int32 expectedLen, CookieContainer cookieContainer)
   at System.Net.Browser.ClientHttpWebResponse..ctor(String method, Uri url, HttpStatusCode status, String mime, SecurityCriticalDataForMultipleGetAndSet`1 headersString, Stream stream, CookieContainer cookieContainer)
   at System.Net.Browser.ClientHttpWebRequest.Failed(Object sender, EventArgs e)
   at MS.Internal.InternalWebRequest.OnDownloadFailed(Object sender, ErrorEventArgs args)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

The browser works fine, I think this is some kind of problem between .Net on the phone and the Fiddler proxy. BTW, the same thing happens on a real phone and even on an iPad (which means this is not a .Net problem)

Can this be fixed?

EDIT: , , , . https://wellsfargo.com https://mail.google.com " " Fiddler.

+5
1

Fiddler Root Cert . Mobile IE : http://computername:8888/fiddlerroot.cer. . , , HTTPS- .

+11

All Articles