openssl genrsa
openssl genrsa -aes256 -out /path/to/root-ca_key.pem 4096
openssl genrsa -aes256 -out ./example.org.key 4096
openssl genrsa -out /path/to/root-ca_key.pem 2048
file root-ca_key.pem root-ca_key.pem: PEM RSA private key
file example.org.key example.org.key: PEM RSA private key
Related terms
pkeyutl
- Generate a public-private key:
ssh-keygen
openssl req -config
openssl rsa
- CSR
openssl req -new -key example.org.key -out example.org.csr
See also
openssl rsa
,openssl genrsa
- Public-key cryptography: RSA, DSA, ECDSA, EdDSA (Ed25519), AES, RSA Conference, hash,
pkeyutl
, Signature, key length, Easyrsa, OAEP, Ron Rivest, Adi Shamir, Leonard Adleman openssl
[rand | s_client | passwd
|openssl req
|openssl rsa
|openssl genrsa
|openssl x509
|openssl ca
|openssl verify
|openssl ec
|openssl dgst
|openssl pkcs12
|openssl asn1parse
|openssl help
|.cer to .pem, openssl version
Advertising: