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
openssl req -new -newkey ec:<(openssl ecparam -name secp384r1) -nodes -out server.csr -keyout server.key -subj '/CN=mycn/O=MyOrg/C=DE'