Articles in Root

Command line to generate a CSR in OpenSSL

Solution

You can generate a CSR in OpenSSL using the following command line and following the step-by-step prompts.

openssl req -new -newkey rsa:2048 -keyout mykey.key -nodes -out mycsr.csr

Alternatively, QuoVadis provides a PKI Widget to generate a custom OpenSSL command line.  This option allows you to easily insert multiple OU fields or use SAN fields in your CSR.

For more information, please see https://pkiwidgets.quovadisglobal.com/scriptgen/default.aspx