[openssl-users] How to get the CA list

Ignacio Casal ignacio.casal at nice-software.com
Thu Feb 14 11:56:08 UTC 2019


Hey guys,

I would like to get a list of all the CAs added to the X509_STORE. For this
I use:
X509_STORE_set_default_paths or X509_STORE_load_locations.

Basically I need to get the list of the CAs out of the store or the store
context. I could not figure out a proper way to do this. I tried to use
X509_STORE_get1_certs but this seems to require a X509_NAME which I do not
have since I want all the certificates out of the CAs.

Is there a proper way to do this?

Regards.

-- 
Ignacio Casal Quinteiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190214/df872394/attachment-0001.html>


More information about the openssl-users mailing list