使用openssl验证中间CA是否颁发了证书

时间:2020-01-16 05:16:33

标签: openssl ssl-certificate x509certificate

我有一个证书文件cert.pem和一个中间文件intermediate.pem。我该如何使用openssl来确认中间体是否是证书的颁发者。

尽管证书确实是由中间人发行的,但我还是尝试使用openssl verify -CAfile intermediate.pem cert.pem并收到错误error 20 at 0 depth lookup:unable to get local issuer certificate。将intermediate.pem替换为root.pem是可行的,但我想确认确认中间。这可行吗?

0 个答案:

没有答案
相关问题