IOS手机使用Fiddler抓获HTTPS报文方法

Configure Fiddler

  1. Click Tools > Fiddler Options > Connections.

  2. Click the checkbox by Allow remote computers to connect.

    Allow remote computers to connect

  3. Restart Fiddler.

  4. Ensure your firewall allows incoming connections to the Fiddler process.

  5. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.

    Online Tooltip

  6. 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.

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

Set the iOS Device Proxy

  1. Tap Settings > General > Network > Wi-Fi.

  2. Tap the settings for the Wi-Fi network.

  3. Tap the Manual option in the HTTP Proxy section.

  4. In the Server box, type the IP address or hostname of your Fiddler instance.

  5. In the Port box, type the port Fiddler is listening on (usually 8888).

  6. Ensure the Authentication slider is set to Off.

    iOS Proxy Settings

Decrypt HTTPS Traffic from iOS Devices

  1. Download the Certificate Maker plugin for Fiddler.

  2. Install the Certificate Maker plugin.

  3. Restart Fiddler.

  4. Configure the device where Fiddler is installed to trust Fiddler root certificate.

  5. On the iOS device, go to http://ipv4.fiddler:8888/ in a browser.

  6. From the bottom of the Fiddler Echo Service webpage, download the FiddlerRoot certificate.

    Download FiddlerRoot Certificate

  7. Open the FiddlerRoot.cer file.

  8. Tap the Install button.

    Install Profile

  9. Tap the Install button again.

    Warning

Uninstall FiddlerRoot Certificate

If you decide to uninstall the root certificate:

  1. Tap the Settings app.

  2. Tap General.

  3. Scroll to Profiles.

  4. Tap the DO_NOT_TRUST_FiddlerRoot* profile.

  5. Tap Remove.

posted on 2017-02-10 11:56  帅胡  阅读(3187)  评论(0编辑  收藏  举报

导航