Answers for "macbook generate .pem"

1

macbook generate .pem

brew <upgrade|install> openssl 
openssl genpkey -algorithm RSA -aes-256-cbc -outform PEM -out private_key.pem -pkeyopt rsa_keygen_bits:2048
chmod 0400 private_key.pem
ssh-keygen -e -f private_key.pem > public_key.pem
Posted by: Guest on April-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language