How to generate an openSSL key using a passphrase from the command line?
If you don’t use a passphrase, then the private key is not encrypted with any symmetric cipher – it is output completely unprotected. You can generate a keypair, supplying the password on the command-line using an invocation like (in this case, the password is foobar): openssl genrsa -aes128 -passout pass:foobar 3072 However, note that this … Read more