Examples of adding Private Enterprise Numbers (PEN's) Extensions to CSR

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Oct 14 16:43:57 UTC 2021


Hi,

I need to generate CSR's with some Extensions included that use our PEN's as allocated by IANA.

Are there any examples of this?

Also, I'm looking at X509_REQ_add_extensions_nid() and it takes a STACK_OF(X509_EXTENSION) but it doesn't seem to actually iterate through the stack...  Is this code even correct?  What am I missing?  Ditto for X509_REQ_add_extensions().

Thanks,

-Philip



More information about the openssl-users mailing list