【发布时间】:2018-02-19 05:21:58
【问题描述】:
我正在尝试与第三方 API 建立 TLS 相互身份验证。客户端证书配置良好,当我尝试通过 Chrome 访问端点 url 时它工作正常(Chrome 要求在消息框中确认证书,当我这样做时,页面显示其内容)。
当我尝试使用 IE 时,它无法正常工作并显示此消息
Cannot securely connect to this page
This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.
Your TLS security settings aren’t set to the defaults, which could also be causing this error.
所以我将详细信息记录到 Wireshark,这就是它的外观 当我深入了解细节时,我可以看到客户端证书从未在第 9 步发送(TLSv1.2 379 证书、客户端密钥交换、更改密码规范、加密握手消息)。
在第 10 步中,这是我遇到的错误
这种行为背后的原因是什么?
更新:当我尝试通过代码访问 smae 端点并检查 SChannel 日志时,我可以看到这样的警告
The remote server has requested TLS client authentication, but no
suitable client certificate could be found. An anonymous connection
will be attempted. This TLS connection request may succeed or fail,
depending on the server's policy settings.
【问题讨论】:
-
您说您为 chrome 正确配置了客户端证书;您是否在 Internet Explorer 中执行了任何步骤以将客户端证书添加到其中?
-
@crchurchey 我只在 Windows 密钥库中配置了客户端证书,在 chrome 上没有任何内容
-
@Athul 你用的是什么服务器?它是什么类型的端点?
标签: internet-explorer wireshark x509 tls1.2 client-certificates