Created
October 24, 2019 08:44
-
-
Save kephin/df884e2f6390e3d1de4fc841fbb08fcf to your computer and use it in GitHub Desktop.
Generate public/private pair keys
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
# openssl | |
openssl genrsa -out private.pem 2048 | |
openssl rsa -in private.pem -pubout -out public.pem | |
# ssh-keygen | |
ssh-keygen -t rsa -P "" -b 4096 -m PEM -f jwtRS256.key | |
ssh-keygen -e -m PEM -f jwtRS256.key > jwtRS256.key.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment