Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改Fiddler根证书以成功解密HTTPS_Https_Ssl Certificate_Fiddler - Fatal编程技术网

更改Fiddler根证书以成功解密HTTPS

更改Fiddler根证书以成功解密HTTPS,https,ssl-certificate,fiddler,Https,Ssl Certificate,Fiddler,有没有办法更改Fiddler的根证书。我希望它适用于客户端应用程序使用证书固定并且我可以访问密钥库的场景,该密钥库的证书受客户端应用程序信任 我想您是在问“我可以更改Fiddler用于特定站点的证书吗”,而不是用于所有站点的根证书 是的,如果您确实拥有证书的私钥,您可以配置Fiddler来使用它。在Fiddler的Rules>Customize Rules>OnBoot函数中,您可以调用: CertMaker.StoreCert("example.com", certMyCert); 或 第一

有没有办法更改Fiddler的根证书。我希望它适用于客户端应用程序使用证书固定并且我可以访问密钥库的场景,该密钥库的证书受客户端应用程序信任

我想您是在问“我可以更改Fiddler用于特定站点的证书吗”,而不是用于所有站点的根证书

是的,如果您确实拥有证书的私钥,您可以配置Fiddler来使用它。在Fiddler的Rules>Customize Rules>OnBoot函数中,您可以调用:

CertMaker.StoreCert("example.com", certMyCert);


第一个调用要求X509Certificate2变量(
certMyCert
)引用已安装在计算机证书管理器(
certmgr.msc
)中的证书,以便找到其私钥,第二个允许您从磁盘指定一个PFX文件。

添加自签名证书会在https网站上出现HSTS错误,有什么解决方法吗?不清楚您在问什么;一般来说,新问题应该以新问题的形式提出,而不是作为对3年前答案的评论。效果很好。谢谢你。
CertMaker.StoreCert("example.com", "C:\\temp\\cert.pfx", "TopSecretPassword");