Difference between revisions of "Openssl genrsa"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | |
+ | {{lowercase}} | ||
* <code>openssl genrsa -[[aes256]] -out /path/to/root-ca_key.pem 4096</code> | * <code>openssl genrsa -[[aes256]] -out /path/to/root-ca_key.pem 4096</code> | ||
+ | * <code>[[openssl genrsa -aes256 -out ./example.org.key 4096]]</code> | ||
+ | * <code>openssl genrsa -out /path/to/root-ca_key.pem 2048</code> | ||
+ | |||
+ | |||
+ | 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 == | == Related terms == | ||
* <code>[[pkeyutl]]</code> | * <code>[[pkeyutl]]</code> | ||
− | * <code>[[ssh-keygen]]</code> | + | * [[Generate a public-private key]]: <code>[[ssh-keygen]]</code> |
* <code>[[openssl req -config]]</code> | * <code>[[openssl req -config]]</code> | ||
+ | * <code>[[openssl rsa]]</code> | ||
+ | * [[CSR]] | ||
+ | * <code>[[openssl req -new -key example.org.key -out example.org.csr]]</code> | ||
== See also == | == See also == | ||
+ | * {{openssl rsa}} | ||
* {{RSA}} | * {{RSA}} | ||
* {{openssl}} | * {{openssl}} | ||
[[Category:CA]] | [[Category:CA]] |
Latest revision as of 17:11, 22 February 2022
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[edit]
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[edit]
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: