![](/img/trans.png)
[英]WCF Client Certificate Authentication, The SSL settings for the service 'SslRequireCert' does not match those of the IIS 'Ssl, SslNegotiateCert'
[英]IIS - SSL Settings with client certificate Accept
通過使用對web.config中特定位置的require
來強制證書提示:
<location path="Home/CertPrompt">
<system.webServer>
<security>
<access sslFlags="Ssl, SslNegotiateCert" />
</security>
</system.webServer>
</location>
為了做到這一點,你必須像這樣修改applicationHost.config
(從Deny-> Allow訪問):
<section name="access" overrideModeDefault="Allow" />`
URL必須是https,這對大多數人來說可能很明顯。 在http上進行本地測試時由我來完成。 我只選擇接受,而不需要ssl(通過重定向處理)。 如果未安裝客戶端證書,今天在chrome Windows中也會遇到提示未觸發的情況。 我相信我的android chrome應用程序確實提示沒有證書。 混合袋。 Mac是另一種體驗。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.