如何知道用户选择了哪个证书? [英] How to know which certificate is selected by user?

查看:115
本文介绍了如何知道用户选择了哪个证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想创建安全网站,因为我需要通过VeriSign验证我的证书。所以现在我的证书将在受信任的根证书颁发机构(TRCA)。

现在,当用户想要在我的网站上登录时,请访问www.testingcertificate.com,这样它将是https:// www。 testingcertificate.com,它将要求提供客户端证书,因此用户的PC中可用的证书将在一个弹出窗口中显示。假设用户有3个证书

1)ABC

2)DEF

3)XYZ



用户选择2)DEF证书,所以我知道用户选择2)和证书。

我尝试在IIS 8中进行一对一映射,但它不起作用并显示

您的客户端证书不受信任或无效。



告诉我该怎么做。

谢谢。

Hello ,
I want to create Secure web site , for that i need to validate my certificate by for example VeriSign . So now my certificate will be in trusted root certificate authority (TRCA).
Now , when user want to login on my site say , www.testingcertificate.com so it will be https://www.testingcertificate.com , it will ask for client certificate , so what ever certificate is / are available in user's PC it will be shown in one pop up . Say user have 3 certificate
1)ABC
2)DEF
3)XYZ

User select 2)DEF certificate , so would i know that user select 2)nd certificate .
I try with one to one mapping in IIS 8 , but its not working and shows
"Your client certificate is either not trusted or is invalid."

So tell me what to do .
Thank you.

推荐答案

当我在安全网站的受信任的根证书颁发机构中拥有证书时,我收到错误。现在客户想要访问我的网站,要求提供个人证书以及当客户选择任何证书时获取

HTTP错误403.16 - 禁止

您的客户端证书不可信或无效。

错误
I am getting error when i have certificate in trusted root certificate authority for secure web site.now Client want to access my web site , its asking for personal certificate and when client select any certificate getting
HTTP Error 403.16 - Forbidden
Your client certificate is either not trusted or is invalid.
error


我已创建证书这将有主键,我已经创建了客户端证书和客户端个人证书。然后它工作正常。
I have created certificate which will have primary key , from that i have create client certificate and client personal certificate.Then it works fine.


这篇关于如何知道用户选择了哪个证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆