gpt4 book ai didi

certificate - 受信任的根证书在客户端 SSL 连接上自动消失

转载 作者:行者123 更新时间:2023-12-04 03:58:39 27 4
gpt4 key购买 nike

我遇到了这个最奇怪的问题。首先:我对这个证书很陌生。不过,我已经进行了大量搜索和阅读。

The CA Cert that I install into the Trusted Root Certificate Authorities store in my server automatically get removed/disappeared as soon as a client web-browser try to connect to a web-site using an SSL cert created with that CA cert.

详情:Windows Server 2008 R2(开发服务器)。我已经创建了自己的证书颁发机构证书;我用它来生成一个 SSL 服务器证书(安装在我的 IIS 7 服务器上)和一个客户端证书(用于在我的本地 PC 上连接到开发服务器上的 WCF Web 服务,该服务器设置为需要 SSL 和需要客户端证书).

我将 CA 证书安装到服务器和本地 PC 的受信任根中。将 SSL 服务器证书安装到该特定站点的 IIS7 中,并将 https 绑定(bind)到端口 443。

As soon as I launch my browser to access that site with HTTPS, the CA cert in automatically removed on the server (from the Trusted Root Certificate Authorities store). and my local PC browser will report an error 403.

这让我抓狂……有人知道发生了什么吗?

最佳答案

看来,跑来跑去,是因为很多店里相同的证书太多了。我打开 MMC.exe > 添加/删除管理单元 > 证书注意这里有 3 种类型(我的用户帐户、服务帐户和计算机帐户)。打开我的用户和计算机帐户,浏览每个商店的所有商店并删除所有具有相同名称的 CA 证书。然后在我的用户帐户或计算机帐户中添加 CA 证书,具体取决于您访问证书的方式(如果以编程方式使用证书,请将其安装在计算机帐户中,[受信任的根证书颁发机构]。

只需1个地方,问题就会消失。

关于certificate - 受信任的根证书在客户端 SSL 连接上自动消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14282069/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com