ios配置fiddler4

 看这里

  1. Open Fiddler and stop capturing.

  2. Open Tools > Options > HTTPS and disable Capturing HTTPS Connects.

  3. Close Fiddler and install BouncyCastle (CertMaker.dll) from here. – this will add CertMaker.dll in your Fiddler installation, and it will change the way certificates are generated. With this option, Fiddler will use only one root certificate and will not generate intermediate certificates for each option.

  4. After installation is complete, open Fiddler, open Tools > Options > HTTPS menu use Actions > Reset all certificates option. This will remove all previously used certificates and will trust the new one.

  5. After agreeing with all system dialogs, enable Capturing (Tools > Options > HTTPS and check Capturing HTTPS Connects) and decryption of HTTPS traffic ((Tools > Options > HTTPS and check Decrypt HTTPS traffic)).

  6. Open Tools > Options > Connections.

  7. Click the checkbox for Allow remote computers to connect.

    ![Allow remote computers to connect][1]

  8. Restart Fiddler.

  9. Ensure your firewall allows incoming connections to the Fiddler process and that it's not blocking all incoming connections, including those in the list of allowed apps.

  10. Hover over the Online indicator at the Fiddler toolbar's far-right to display the IP addresses assigned to Fiddler's machine. Use this address on your iOS device (see the 5th step in the iOS device setup steps below).

    ![Online Tooltip][2]

  11. Verify client iOS device can reach Fiddler by navigating in the browser to http://FiddlerMachineIP:8888. This address should return the Fiddler Echo Service page.

  12. For iPhone: Disable the 3g/4g connection.