[openssl-users] How to retrieve the revoked certificate list when X509_LOOKUP_hash_dir() method used
Yan, Bob
BYan at visa.com
Thu Feb 25 23:10:25 UTC 2016
H All,
I used the following methods to load CRL hashed-directory into a SSL_CTX object to verify the client certificate against the CRL. The code works fine and it's able to verify the client certificate against the loaded CRLs.
X509_STORE *x509Store = SSL_CTX_get_cert_store(sslCtx);
X509_LOOKUP *lookup = X509_STORE_add_lookup(x509Store, X509_LOOKUP_hash_dir());
X509_LOOKUP_add_dir(lookup, crlDirectory, X509_FILETYPE_PEM);
My question is that, is there any method to retrieve the CRL list or print all revoked certificate list?
Thanks
Bob
More information about the openssl-users
mailing list