How to generate Certificate Signing Request (CSR) using OpenSSL without config file
This will generate an ECDSA P-384 key and a certificate signing request. The CSR and the key will be stored in server.csr
and server.key
respectively
example.sh
openssl req -new -newkey ec:<(openssl ecparam -name secp384r1) -nodes -out server.csr -keyout server.key -subj '/CN=mycn/O=MyOrg/C=DE'
Check out similar posts by category:
Security
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow