Last active
September 2, 2021 03:00
-
-
Save maneja81/4edb27bffcfd69f0e934fdc7f5423075 to your computer and use it in GitHub Desktop.
Commands to generate RSA private and public keys of 4096 bits encrypted via AES256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Private key | |
$ openssl genrsa -passout pass:{STRONG-PASSWORD} -out {PATH}/private.pem -aes256 4096 | |
# Pulbic key from the | |
$ openssl rsa -passin pass:{STRONG-PASSWORD} -pubout -in {PATH}/private.pem -out {PATH}/public.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment