Hello, I'm a new fiddler user trying to configure to capture traffic from the iOS connected. I'm trying to follow this one here, http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForiOS, but got stuck at the steps to decrypt HTTPS traffic from iOS devices. I've installed certmaker, but when I tried to configure windows client to trust fiddler root certificates, it all went haywire with loads of errors around.
Firstly, when i try to enable HTTPS traffic decryption by clicking the decrypt HTTPS traffic box, a box showing "Could not load type 'Fiddler.lCertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'." appears.
If I ignore the box and proceed with trusting the root certificate, the same box appears instead of the installing certificate notice.
Next, if I tried to export the certificate from what I've read around, this shows up: "---------------------------
Certificate Export Failed
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
Could not load type 'Fiddler.ICertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'.
Type: System.TypeLoadException
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 111
at Fiddler.CertMaker.EnsureReady() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 69
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 184
Fiddler v4.6.20172.34691 (x64 AMD64) [.NET 4.0.30319.34209 on Microsoft Windows NT 6.3.9600.0]
---------------------------
OK
---------------------------
"
Am at a big loss here, could it be the certmaker that is the issue or did I configured wrongly ?
I am using Visual Studio and C# to post a request to my client's https: api service (a Java/Unix platform).
They claim I am not sending the payload (request body).
My code uses a common practice method HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://client.com/api/login");
I then create the JSON from a data structure using the JavaScriptSerializer as
loginInfoSerialized = new JavaScriptSerializer().Serialize(loginInfo);
I add request.Headers.Add as needed by the client. And then write the request stream using:
StreamWriter streamPost = new StreamWriter(request.GetRequestStream());
streamPost.Write(loginInfoSerialized);
All pretty standard. However, I am not able to capture/see the outgoing HTTPS request in Fiddler to confirm the header and payload data is being sent from my development platform (Windows 7). My firewall is disabled.
I do see a "Tunnel to" in the Host column, but nothing recognizable (https decipher??)
Should I be doing something different to see the outbound packets?
Thanks.
I've tried to installed Fiddler4.6 and the IOS certmaker on two different WIndows 7 PCs and gotten the same error on both, would appreciate any assistance.
Thanks!
---------------------------
Awww, Fiddlesticks!
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
Could not load type 'Fiddler.ICertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'.
Type: System.TypeLoadException
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 111
at Fiddler.CertMaker.EnsureReady() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 69
at ..() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2502
Fiddler v4.6.20172.34691 (x64 AMD64) [.NET 4.0.30319.18331 on Microsoft Windows NT 6.1.7601 Service Pack 1]
---------------------------
OK
---------------------------
---------------------------
Reset Certificates Failed
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
Could not load type 'Fiddler.ICertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'.
Type: System.TypeLoadException
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 111
at Fiddler.CertMaker.EnsureReady() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 69
at ..(Object , EventArgs ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2153
at ..(Object , EventArgs ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2605
Fiddler v4.6.20172.34691 (x64 AMD64) [.NET 4.0.30319.18331 on Microsoft Windows NT 6.1.7601 Service Pack 1]
---------------------------
OK
---------------------------
I use fiddlercore in my wpf aplication,which used to capture http/https request.
I use startup() to start the api:
FiddlerCoreStartupFlags oFCSF = FiddlerCoreStartupFlags.Default;
int iPort = 8877;
Fiddler.FiddlerApplication.Startup(iPort, oFCSF);
and at the end ,i use Shutdown() to stop it.
if (null != oSecureEndpoint) oSecureEndpoint.Dispose();
oAllSessions.Clear();
Fiddler.FiddlerApplication.Shutdown();
oAllSessions.Clear();
Thread.Sleep(1000);
the result is that: I can capture http/https request,but after using it ,i can't use webbrowser to reach internet.
and this only appears when i use my application via VPN .
i found ProxyEnable in regedit ,it values 1
I doubt depply that Fiddler.FiddlerApplication.Shutdown(); can't work out?
How can i do to resolve this problem?help!
Thanks!
Hi,
I have a use case that needs to run Fiddler on the end user's PCs through command line and enable HTTPS. I don't want users enabling HTTPS option through the UI. Any ideas?
Many Thanks
Jerome