Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个STACK_OF(X509)要验证的证书链。但我似乎无法找到如何。我怎样才能从这个结构中取出单个证书并验证它们。还是整体验证整个结构?
STACK_OF(X509)
我 SSL_get_peer_cert_chain(ssl)用来获取堆栈。
SSL_get_peer_cert_chain(ssl)
有openssl verify验证证书链的实用程序。
openssl verify
您可以在apps/verify.c的 git 存储库中查看源代码