-
-
Save mcueto/26cc88f96e008f1804d54877e9520eb6 to your computer and use it in GitHub Desktop.
How to generate a JWT RS256 key
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
# Generate your private key (Don't add passphrase) | |
ssh-keygen -t rsa -b 4096 -f jwtRS256.key | |
# Generate your public key | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
# View your private key | |
cat jwtRS256.key | |
# View your public key | |
cat jwtRS256.key.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment