Skip to content

Instantly share code, notes, and snippets.

@aprilmintacpineda

aprilmintacpineda/jwt.sh

Forked from ygotthilf/jwtRS256.sh
Last active Jan 25, 2020
Embed
What would you like to do?
How to generate JWT RS256 key
# Don't add passphrase
ssh-keygen -t rsa -b 4096 -m PEM -f jwt.key
openssl rsa -in jwt.key -pubout -outform PEM -out jwt.pub
# remove the jwt.key.pub you don't need it
rm -rf jwt.key.pub
cat jwt.key
cat jwt.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment