OpenSSL 3 · Keys and signing requests
Generate an elliptic curve key
Create a P-256 key, which is smaller and faster than RSA.
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out ec.key
Official OpenSSL 3 documentation
More keys and signing requests commands
- Check the OpenSSL version
- Generate an RSA private key
- Create a certificate signing request
- Inspect a CSR
- Extract the public key
All keys and signing requests commands · OpenSSL 3 cheatsheet