Skip to content

Instantly share code, notes, and snippets.

Last active February 29, 2024 07:29
Star You must be signed in to star a gist
Save ygotthilf/baa58da5c3dd1f69fae9 to your computer and use it in GitHub Desktop.
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out
cat jwtRS256.key
Copy link

Thanks :)

Copy link

honne23 commented Jan 31, 2024


Copy link

oh hell yeah

Copy link

concise and useful :)

Copy link


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment