certificate - IISExpress ClientCertificate 设置步骤

标签 certificate iis-express client-certificates

我正在尝试配置一个简单的网站以要求 IISExpress 上的客户端证书。
我的配置是根据这个存档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 中配置
任何帮助表示赞赏。
谢谢你。

最佳答案

存在证书问题,而不是 IISExpress 配置问题。

我没有可用于客户端身份验证的证书。
安装具有预期用途的证书后,一切正常。

所以上面的配置工作得很好。

关于certificate - IISExpress ClientCertificate 设置步骤,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14752386/

相关文章:

c# - ServicePointManager.ServerCertificateValidationCallback 的目的是什么?

iphone - 苹果开发者发行证书

Spring Security SAML IdP 元数据证书和签名

asp.net - IIS Express站点的物理目录在哪里?

apache - 从 mod_mono 中的 SSL session 检索客户端证书(在 Apache 2.2.2 (Red Hat) 中)

Apache - 安装 SSL 证书

visual-studio - 停止IIS Express自动退出

ssl-certificate - 通过 "netsh.exe"添加 SSL 证书在计算机重新启动后不会持续

c++ - Microsoft HTTP Server API - 使用 SSL,如何要求客户端证书?

apache - 如何在 Apache 服务器上为 REST api 实现 SSL 客户端证书?