Skip to content

Instantly share code, notes, and snippets.

@serg-kovalev
Last active October 20, 2020 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serg-kovalev/afc88f0ab6da98f98b5257c3a4532c3f to your computer and use it in GitHub Desktop.
Save serg-kovalev/afc88f0ab6da98f98b5257c3a4532c3f to your computer and use it in GitHub Desktop.
Generate RSA256 pem and store pub key in a separate file
openssl genrsa -out jwtRS256private.pem 2048
openssl rsa -in jwtRS256private.pem -outform PEM -pubout -out jwtRS256public.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment