node.js - ACME - 使用 SAN 获取子域证书

标签 node.js security ssl certificate ssl-certificate

我对即将推出的 Automated Certificate Management Environment (ACME) 感兴趣.我下载了演示并在我的主域中进行了试用。 我还有一个问题: 使用常规认证过程,我能够获得 SAN 证书,这样我就可以在我的服务器 (Node.js) 上设置它并为所有子域(虚拟主机)提供它。问题是 current draft说明如下:

Key Authorization
This process may be repeated to associate multiple identifiers to a key pair (e.g., to request certificates with multiple identifiers)

这是否意味着我需要为每个单独的子域颁发从相同 key 生成的新证书,即使它们属于同一主域(“主标识符”)?

谢谢你的回答。

最佳答案

我的理解

to request certificates with multiple identifiers

是您将能够将多个域关联到一个证书。这些域很可能会在证书的主题备用名称扩展中说明。

每个域都将由 CA 验证,并且只有经过验证的域才会被放入颁发的证书中。

它在规范中没有写清楚,但在阅读第 5.6 节后对我来说确实有意义,特别是

The CSR encodes the client’s requests with regard to the content of the certificate to be issued. The CSR MUST contain at least one extensionRequest attribute [RFC2985] requesting a subjectAltName extension, containing the requested identifiers.

The values provided in the CSR are only a request, and are not guaranteed. The server or CA may alter any fields in the certificate before issuance. For example, the CA may remove identifiers that are not authorized for the key indicated in the “authorization” field.

关于node.js - ACME - 使用 SAN 获取子域证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30320576/

相关文章:

php - Node Js 与 PHP 之间的通信,反之亦然

node.js - Azure blob sasToken "Signature did not match"

networking - tcpdump 过滤 ssl 数据包

java - 我需要一个 web.xml 的例子,它列出了一些 secret 的页面,并将其他所有内容默认为 NONE

mysql - 无法通过 sequelize 连接到 MySQL

javascript - 在 node.js 中加载和执行外部 js 文件并访问局部变量?

.net - 如何调试来 self 们自己的应用程序的虚假 TCP 请求?

python - 如何在 Tor 网络上运行 python 脚本

ios - 备份还原后 SecItemCopyMatching 返回 -26276

ssl - 在打开的套接字上启用 TLS (STARTTLS)