Skip to content

Instantly share code, notes, and snippets.

@luanmuniz
Forked from ygotthilf/jwtRS256.sh
Last active December 16, 2018 20:37
Show Gist options
  • Save luanmuniz/cb2582fcda6ef28b3eba97ef0983203c to your computer and use it in GitHub Desktop.
Save luanmuniz/cb2582fcda6ef28b3eba97ef0983203c to your computer and use it in GitHub Desktop.
How to generate JWT RS256 key
openssl genrsa -aes128 -out cert.key 4096
openssl rsa -in cert.key -pubout -out cert.pub
cat cert.key
cat cert.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment