On 13.10.21 01:32, Philip Prindeville wrote:
Is there demo code for creating a CSR?
demos/x509/mkreq.c seems to have gone away a while ago...
Thanks!
What I generally take as demo/sample code is the OpenSSL apps
implementation in apps/ ,
though that can be rather complicated due to many options, which also
holds for apps/req.c .
You can follow there the code sections starting with the call to
X509_REQ_new_ex().
Sometimes interesting code snippets may be found also in test/ , but not
for CSR generation.
David