[openssl-users] Example code to add several CRL distribution points

Dirk Menstermann noadsplease at web.de
Wed Nov 22 11:58:08 UTC 2017


Hi,

can anybody share example code to add more than 1 CRL distribution point to a
certificate?

The below works only for one URI:

X509_EXTENSION *ext = X509V3_EXT_conf_nid (NULL, &v3ctx,
NID_crl_distribution_points, (char*) "URI:http://exmaple.com/crl");
X509_add_ext (certificate, ext, -1);

Thanks a lot
Dirk


More information about the openssl-users mailing list