<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 13.10.21 01:32, Philip Prindeville
      wrote:
    </div>
    <blockquote type="cite"
      cite="mid:2FCB8F40-7AA4-4294-AB89-C0D49BA4C496@redfish-solutions.com">
      <pre class="moz-quote-pre" wrap="">Is there demo code for creating a CSR?

demos/x509/mkreq.c seems to have gone away a while ago...

Thanks!
</pre>
    </blockquote>
    What I generally take as demo/sample code is the OpenSSL apps
    implementation in apps/ ,<br>
    though that can be rather complicated due to many options, which
    also holds for apps/req.c .<br>
    You can follow there the code sections starting with the call to
    X509_REQ_new_ex().<br>
    <p>Sometimes interesting code snippets may be found also in test/ ,
      but not for CSR generation.<br>
    </p>
        David<br>
  </body>
</html>