weismat
weismat

Reputation: 7411

C# Sniffing https traffic from a 3rd party assembly with fiddler

I want to sniff https traffic with fiddler, but the traffic is generated via a 3rd party assembly instead of a web browser.
Are there similar mechanisms available so that I can add the fiddler certificate into the trusted category or would you recommend any other trick?

Upvotes: 0

Views: 964

Answers (1)

EricLaw
EricLaw

Reputation: 57085

Yes, by default, .NET relies on the Windows Trusted Root store, so you can follow the steps specified at the link Martin provided: fiddler2.com/Fiddler/help/httpsdecryption.asp

Alternatively, after Fiddler's root certificate is created, you can run the following from an Admin command line:

certmgr /add /c /s my /n DO_NOT_TRUST_FiddlerRoot /s root

Upvotes: 1

Related Questions