How to get the CA list

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to get the CA list

Ignacio Casal
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

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users