Skip to content

Instantly share code, notes, and snippets.

@borys-upco
Forked from ygotthilf/jwtRS256.sh
Last active December 22, 2021 12:38
Show Gist options
  • Save borys-upco/e5e172880b6166d36f09d0066444f764 to your computer and use it in GitHub Desktop.
Save borys-upco/e5e172880b6166d36f09d0066444f764 to your computer and use it in GitHub Desktop.
How to generate JWT RS256 key
ssh-keygen -t rsa -P "" -b 4096 -m PEM -f jwtRS256.key
ssh-keygen -e -m PEM -f jwtRS256.key > jwtRS256.key.pub
cat jwtRS256.key.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment