How to create ECDSA P-384 (secp384r1) using OpenSSL (-newkey)
In order to generate a ECDSA certificate using the P-384 curve, use the following form of the -newkey
argument:
openssl_newkey_example.sh
-newkey ec:<(openssl ecparam -name secp384r1)
Example:
generate_ca.sh
openssl req -newkey ec:<(openssl ecparam -name secp384r1) -nodes -x509 -keyout ca.key -out ca.pem -days 365000
Original source for this syntax on StackOverflow
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