Skip to content

Instantly share code, notes, and snippets.

@jperocho
Created March 18, 2023 16:30
Show Gist options
  • Save jperocho/19a8092550902dce185cef4b435de7d6 to your computer and use it in GitHub Desktop.
Save jperocho/19a8092550902dce185cef4b435de7d6 to your computer and use it in GitHub Desktop.
Generate RS256 key for jwt
ssh-keygen -t rsa -b 4096 -m PEM -f private_key.pem
openssl rsa -in private_key.pem -pubout -outform PEM -out public_key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment