使用fiddler捕获https请求
安装fiddler后,开启左下角capturing开关,使用谷歌浏览器打开网站www.baidu.com,此时发现fiddler未捕获这个https的请求。
若要实现捕获https请求,需要做如下设置:
1、点击Tools–>Options,在弹出的窗口中点击HTTPS选项卡
2、勾选CaptureHTTPS CONNECTs、Decrypt HTTPS traffic ,此时会弹出Trust the Fiddler Root certificate的对话框,选择yes
3、安装DO_NOT_TRUST_FiddlerRoot证书
4、安装成功后,可在windows证书中查找到该证书,如附图(此步骤可省略)
5、Options窗口中点击OK。
6、此时再重新捕获www.baidu.com请求,发现已可正常捕获。