.Net 应用程序从哪里获取其根 CA 证书?
我正在尝试将 Charles Proxy 与 .Net 应用程序一起使用来了解其 API 调用。我已经安装了 Charles Proxy 根 CA 证书(该证书按基本操作系统服务和浏览器的预期工作),但是我正在运行的应用程序似乎无法识别该证书。
我已经反编译了该软件,它似乎正在使用标准的 System.Net.WebRequest 组件,并且不会覆盖 RemoteCertificateValidationCallback 。
这是在 Windows 10 上。
I am trying to use Charles Proxy with a .Net application to understand its API calls. I've installed the Charles Proxy root CA certificate (which is working as expected for base OS services and the browser), however the application I'm running doesn't seem to be recognizing that cert.
I've decompiled the software, and it seems to be using the standard System.Net.WebRequest
component, and doesn't override RemoteCertificateValidationCallback
.
This is on Windows 10.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Windows 上,.NET 使用 Windows 证书信任系统;因此它的行为应该与 Edge 或 Chrome 相同(Firefox 使用自己的信任存储)。
On Windows, .NET uses the Windows certificate trust system; so it should behave the same as Edge or Chrome (Firefox uses their own trust store).