如何使用自签名证书在 IIS7 中启用相互 SSL?

发布于 2024-08-05 15:49:42 字数 190 浏览 1 评论 0原文

我已经在 IIS7 中创建了一个自签名证书。然后我将此证书导出为 .pfx,然后将其安装在客户端计算机的 IE 浏览器上。然后我在服务器的 IIS 配置上设置“需要客户端证书”。当我尝试使用 IE 访问该网站时,会出现一个对话框让我选择证书,但是该对话框中没有证书。当我单击“确定”而不选择任何证书时,出现 403 禁止错误。我怎样才能做到这一点?提前感谢您的帮助。

I've created a self-signed certificate in IIS7. Then I exported this certificate to a .pfx and then installed it on the client machine's IE browser. Then I set "Require Client Certificate" on the server's IIS configuration. When I try to visit the site with IE, a dialog box comes up for me to choose a certificate, however, there are no certs in that dialog box. When I click "OK" without choosing any certs, I get a 403 forbidden error. How can I make this work? Appreciate the help in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无人问我粥可暖 2024-08-12 15:49:42

如果不设置“需要客户端证书”会怎样?如果您收到“存在问题...”页面。然后存在一些问题,即 Internet Explorer 不信任您的证书。如果它不信任它,它就不会使用它来进行身份验证(我认为)。

What happens if you dont set the "Require Client Certificate"? If you recieve the "There is a problem..." page. Then there is some issue with the internet explorer not trusting your certificate. If it's not trusting it, it wont use it to authenticate( I think).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文