gpt4 book ai didi

certificate - x509 证书中主题属性的顺序

转载 作者:行者123 更新时间:2023-12-04 12:20:02 30 4
gpt4 key购买 nike

是否必须指定主题属性 - C、ST、L、O、OU、CN 的特定顺序。 openssl 似乎没有强制执行命令。

在生成专有名称时,我们是否会选择证书中配置的所有主题属性?属性的顺序重要吗?

最佳答案

Is there a particular order in which the subject attributes - C, ST, L, O, OU, CN have to specified.



据我所知,没有指定顺序。将使用您指定的顺序,并按此顺序在 PKCS#10 请求中生成 DN。

And while generating the Distinguished Name do we pick up all the subject attributes configured in the certificate?



CA 在颁发证书时可能(并且很可能会)使用 PKCS#10 请求中的 DN,但它可以决定不同的顺序。在颁发 SSL 服务器证书时,某些 RDN(相对专有名称)可以移动到扩展名,即 emailAddress 或复制到像 CN 到 SubjectAlternativeName 这样的扩展名。

Does the ordering of the attributes matter ?



恕我直言,订购无关紧要。对于使用证书的某些应用程序可能很重要,但通常顺序无关紧要。

关于certificate - x509 证书中主题属性的顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43349987/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com