http - 为什么 TLS 允许将证书颁发给不同的子域?

标签 http ssl browser

我最近发现了一些东西,这些东西对我自以为了解的有关 TLS 的一切提出了质疑。

本网站https://int.lyve-lyon.alpha.grandlyon.com使用 TLS 进行保护,但证书实际上是颁发给 rec.lyve-lyon.alpha.grandlyon.com

服务器如何提交为不同主机颁发的证书,以及浏览器如何不抛出 TLS 错误?看起来证书的行为就像通配符证书,我不明白为什么。

最佳答案

Subject Alternative Name (SAN) is an extension to X.509 that allows various values to be associated with a security certificate using a subjectAltName field. These values are called Subject Alternative Names (SANs). Names include:

  1. Email addresses
  2. IP addresses
  3. URIs
  4. DNS names (this is usually also provided as the Common Name RDN within the Subject field of the main certificate.)
  5. directory names (alternative Distinguished Names to that given in the Subject)
  6. other names, given as a General Name: a registered[3] object identifier followed by a value

from https://en.wikipedia.org/wiki/Subject_Alternative_Name

enter image description here

关于http - 为什么 TLS 允许将证书颁发给不同的子域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53482742/

相关文章:

asp.net - 禁止接收 "Path ' OPTIONS。ASP.NET 网站出现异常

ssl - 在 Windows 上生成 cert.pem 和 key.pem

apache - 哪些是删除密码的命令?

html - 为浏览器优化的 CSS

Python脚本动态查找firefox在打开url时监听的端口?

http - 如何在 Liferay 服务器中设置 http 请求超时

http - 压缩响应的内容长度值

使用 Angular 进行 AJAX 更新

ruby-on-rails - 使用 CloudFlare SSL 在 Rails 4 上进行 force_ssl 重定向循环

javascript - 手机浏览器网页解决方案