-
-
Save danwonghk01/566054b516a3d38a0d1985f51e803066 to your computer and use it in GitHub Desktop.
How to generate JWT RS256 key
This file contains 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
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment