简体   繁体   English

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

[英]How do I enable mutual SSL in IIS7 with a self-signed certificate?

I've created a self-signed certificate in IIS7. 我在IIS7中创建了一个自签名证书。 Then I exported this certificate to a .pfx and then installed it on the client machine's IE browser. 然后我将此证书导出到.pfx,然后将其安装在客户端计算机的IE浏览器上。 Then I set "Require Client Certificate" on the server's IIS configuration. 然后我在服务器的IIS配置上设置“需要客户端证书”。 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. 当我尝试使用IE访问该站点时,会出现一个对话框供我选择证书,但是,该对话框中没有证书。 When I click "OK" without choosing any certs, I get a 403 forbidden error. 当我单击“确定”而不选择任何证书时,我收到403禁止错误。 How can I make this work? 我怎样才能做到这一点? Appreciate the help in advance. 提前感谢您的帮助。

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). 如果它不信任它,它就不会用它来进行身份验证(我认为)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM