7
votes

Is it possible to export the fiddler root cert so other users can use it?.

I'm wanting to distribute a vagrant/docker image for my team. We basically need to use fiddler to make SSL work (making the guest vm trust fiddlers cert and then routing everything through fiddler on the host).

I'd like to have the vagrantmachine trust fiddler by trusting a root CA we share. So the vm would trust this CA and not need to be configured everytime.

Is there a way to export fiddlers root CA (private key) and install this on another machine?.

2

2 Answers

13
votes

You can export Fiddler's certificate by clicking the "Export Root Certificate to Desktop" button on the tab where you enabled HTTPS (Tools > Fiddler Options > HTTPS).

Alternatively, you can simply visit http://fiddlerPC:8888/ from the other clients and a link on that page offers the certificate for download.

.CER files do not contain the private key, and you do not need to distribute the private key to other machines for them to trust the certificate.

If you want to include the private key, you need to use mmc.exe with CertMgr.msc; right-click on the root, choose All Tasks > Export...

CertManager

Note that having multiple different Fiddler root certificates on a single PC will confuse Windows; use CertMgr.msc or Fiddler's "Remove Interception Certificates" button to remove any old roots before installing the new one.

1
votes

I found this on happen-stance while searching.

  1. Open Fiddler's Options.

  2. Turn on Decrypt SSL, THEN click the Actions button on the upper-right of that tabbed area. (Exporting is not available unless you have it checked)