接口监听工具 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  下载证书到你的手机上




  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值