Skip to content

Instantly share code, notes, and snippets.

View mcueto's full-sized avatar

Marcelo Cueto mcueto

View GitHub Profile
@mcueto
mcueto / jwtRS256.sh
Last active May 7, 2017 21:21 — forked from ygotthilf/jwtRS256.sh
How to generate a JWT RS256 key
# 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