接口监听工具 Fiddler 证书创建问题解决方式

--更新 有效的证书安装

证书安装工具更新,使用fiddler默认的证书生成工具无法获取https请求

参考blog http://www.telerik.com/blogs/using-fiddler-with-apple-ios-devices

文章中提到

To enable Fiddler to generate certificates compatible with iOS devices, download the Certificate Maker plugin for Fiddler from http://fiddler2.com/r/?FiddlerCertMaker.

This plugin replaces the default certificate generation code in Fiddler with a version based on the open-source Bouncy Castle cryptography library. It generates iOS-compatible certificates by default, and respects several Preferences to enable compatibility with a wide-variety of platforms.


下载这个工具重新安装证书后可capture https请求

------

https://www.zhaokeli.com/article/6360.html

在使用fiddler抓包的时候出现  creation of the root certificate was not successful  这个错误

出现这个错误会导致https包抓不到


手机上访问 192.168.1.100:8888(这里用你自己电脑的ip) 点击down the fiddlerroot certficate 出错(文件不存在)

 

解决方法:

1、打开cmd

2、进入fillder的目录

如下:

里面的路径改成你自己的安装路径

cd /d "D:\Program Files (x86)\Fiddler2"

然后再执行下面命令

makecert.exe -r -ss my -n "CN=DO_NOT_TRUST_FiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky signature -eku 1.3.6.1.5.5.7.3.1 -h 1 -cy authority -a sha1 -m 120 -b 09/05/2012

下面提共一个批处理,打开你的fiddler2的目录把下面代码保存成一个creat.bat文件直接双击运行

cd %cd%makecert.exe -r -ss my -n "CN=DO_NOT_TRUST_FiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky signature -eku 1.3.6.1.5.5.7.3.1 -h 1 -cy authority -a sha1 -m 120 -b 09/05/2012pause

在手机上打开对应的 ip+port  下载证书到你的手机上




展开阅读全文

没有更多推荐了,返回首页