Fiddler: Creation of interception certificate failed.

最近一直碰到fiddler抓包无法抓到https的通信内容,并提示

Creation of interception certificate failed.

makecert.exe returned -1.
[...] Error: Can’t create the key of the subject (‘JoeSoft’)”

最后决定要解决这个问题,因此研究了下,并在网上搜索了一些资料,最后按照博文

http://harachie.wordpress.com/2011/04/05/fiddler-creation-of-interception-certificate-failed/

进行操作,最后成功看到https的通信内容。

我觉得关键一点是:

删除:C:\Users\<UserName>\AppData\Roaming\Microsoft\Crypto\RSA\
这个路径下的文件就行了。

不过我建议大家先备份里面的文件,否则出了问题,则无法恢复。

 

最后贴下此博文:

Recently I had some problems with the HTTPS decryption of Fiddler.

Outlook could not connect to the mail server, promting me again and again for my credentials. Deleting all the Fiddler certificates did solve this problem for me, since Outlook could not verify the correctness of the used certificate.

Unfortunately I did delete the Fiddler root certificate, too.

No clue what happened, but when trying to enable the HTTPS decryption again to view my secured connections the error message “Creation of
interception certificate failed. makecert.exe returned -1. [...] Error:
Can’t create the key of the subject (‘JoeSoft’)” popped up.

I searched my key storage for any certificate related to “JoeSoft” but could not find anything. So time to start ProcessMonitor from SysInternals to see which key cannot be created.

Here is the solution which worked for me:

  1. Start ProcessMonitor
  2. Set some filters

 

to search for the process name “makecert.exe”

and a path containing “crypto\rsa”

  1. goto the path showing up, something like: C:\Users\<UserName>\AppData\Roaming\Microsoft\Crypto\RSA\<FolderName>

    Rename (beware of not suffixing it, it will not work) or delete the file
  2. Try to activate HTTPS decryption again
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值