windows – 如何配置IIS Express以请求客户端证书
发布时间:2020-12-24 19:32:38 所属栏目:Windows 来源:网络整理
导读:有谁知道如何配置IIS Express以要求客户端证书进行访问? 我正在尝试调试使用客户端证书进行身份验证的有问题的ASP.NET应用程序. 使用IIS管理器工具并按照Microsoft文档 IIS Client Certificate Mapping Authentication iisClientCertificateMappingAuthenti
有谁知道如何配置IIS Express以要求客户端证书进行访问?
示例配置: <location path="Default Web Site"> <system.webServer> <security> <authentication> <windowsAuthentication enabled="false" /> <anonymousAuthentication enabled="false" /> <digestAuthentication enabled="false" /> <basicAuthentication enabled="false" /> <iisClientCertificateMappingAuthentication enabled="true" manyToOneCertificateMappingsEnabled="true"> <manyToOneMappings> <add name="Contoso Employees" enabled="true" permissionMode="Allow" userName="Username" password="[enc:AesProvider:57686f6120447564652c2049495320526f636b73:enc]"> <rules> <add certificateField="Subject" certificateSubField="O" matchCriteria="Contoso" compareCaseSensitive="true" /> </rules> </add> </manyToOneMappings> </iisClientCertificateMappingAuthentication> </authentication> <access sslFlags="Ssl,SslNegotiateCert" /> </security> </system.webServer> </location> (编辑:均轻资讯网_我爱站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐