fiddler测试弹窗报错:creation of the root certificate was not successful

最近使用fiddler调试app遇到一些奇怪小问题,看来对于fiddler还是不够了解。
fiddler弹窗creation of the root certificate was not successful,影响调试接口
索性百度下解决了问题,因为本人也设置了监听https的请求,可能这个时候因为证书的原因,具体原理没搞太明白。
打开cmd窗口
cd c:\soft\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

在设置监听https的时候,这儿我们可能会忽视个小细节:

这儿需要更改为远程服务,可以选定自己想监听的哪儿的请求,勾选上远程的,因为本人是手机的请求监听,不然浏览器可能打开不了。

done。

猜你喜欢

转载自my.oschina.net/u/3318187/blog/1787920