最近一直碰到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:
- Start ProcessMonitor
- Set some filters
to search for the process name “makecert.exe”
and a path containing “crypto\rsa”
- 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 - Try to activate HTTPS decryption again
出处: http://yelaiju.cnblogs.com
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· [AI/GPT/综述] AI Agent的设计模式综述