我正在尝试配置一个简单的网站,在IISExpress上要求客户端证书。
我的配置参考了这篇已存档的jasonrshaver.com博客文章。
我的配置参考了这篇已存档的jasonrshaver.com博客文章。
<site name="XXXX" id="3">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="XXXX" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:65360:localhost" />
<binding protocol="https" bindingInformation="*:44300:localhost" />
</bindings>
</site>
...
<access sslFlags="Ssl, SslNegotiateCert" />
...
<iisClientCertificateMappingAuthentication enabled="true">
</iisClientCertificateMappingAuthentication>
这是一个简单的MVC4 Web应用程序,可以输出ClientCertificate数据。
问题在于,当我浏览到https时,浏览器没有提示证书。我有4个可以使用的证书;它们在Chrome中配置。
任何帮助都将不胜感激。 谢谢。