gpt4 book ai didi

ssl - 证书链 - 我的中级正确吗

转载 作者:太空宇宙 更新时间:2023-11-03 14:32:49 25 4
gpt4 key购买 nike

有一件事我找不到。我刚刚从客户端收到要安装在网络服务器上的 Comodo ssl 证书(.crt 文件和 key )。虽然我没有收到中级。证书CN为:

Extended Validation Secure Server CA

我确实在 Comodo 网站上找到了这个中级类(class):

https://support.comodo.com/index.php?/Knowledgebase/Article/View/931/91/intermediate-2-comodo-ev-secure-server-ca

我如何检查这个特定证书是否被这个中间体验证?

我在努力

openssl verify -verbose -purpose sslserver -CAfile comodoextendedvalidationsecureserverca.crt my_certificate.crt 

但是出现了这个错误:

error 20 at 0 depth lookup:unable to get local issuer certificate

如果验证失败,我会期望。但令人惊讶的是,我在证书/中间对上尝试此命令时遇到了类似的错误(1 次深度查找时出现错误 2:无法获取颁发者证书),我确信它是正确的。

我想确定,在我开始唠叨我的客户之前,我没有找到合适的中间人的选择。

最佳答案

正如帕特里克建议的那样:

openssl verify -purpose sslserver -untrusted <Intermediate_file.crt> <cerificate_file.crt>

是个好方法。谢谢

关于ssl - 证书链 - 我的中级正确吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51039287/

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