Difference between revisions of "Openssl new"
Jump to navigation
Jump to search
(Created page with "https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain") |
|||
Line 1: | Line 1: | ||
https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain | https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain | ||
+ | |||
+ | Encrypt with -aes256 | ||
+ | ``` | ||
+ | openssl genpkey -aes256 -algorithm RSA -out private_encrypted.key -pkeyopt rsa_keygen_bits:2048 | ||
+ | ``` |
Revision as of 15:47, 22 March 2024
Encrypt with -aes256
openssl genpkey -aes256 -algorithm RSA -out private_encrypted.key -pkeyopt rsa_keygen_bits:2048