SSL证书域名
每个 ssl 证书都分配了域名或主机。但我的问题。浏览器如何知道该证书的域。
当我初始化 ssl 握手时,浏览器向 CA 发送 oscp 请求,并做出响应。是否有该证书有效的域名。或者浏览器如何识别该证书对该域有效。它从哪里知道的呢?
谢谢
every ssl certificate has assigned domain name or host. But my question. How does browser know the domain of that certificate.
when i init ssl handshake, the browser sends oscp request to CA and in response is something. Is there the domain name for that this certificat is valid for. Or how does borwser recognize that this certificate is valid for that domain. From where does it know it?
thx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
主机名存储在主题备用名称扩展中,或者,如果 SAN 扩展不存在,则使用主题 DN 中的公用名称条目。请参阅 RFC 2818。
The host name is stored in the Subject Alternative Name extension or, if the S.A.N. extension isn't present, the Common Name entry in the Subject DN is used. See RFC 2818.
域名存储在证书本身的“通用名称”字段中。
Domain name is stored in certificate itself, in Common Name field.