Skip to content

Instantly share code, notes, and snippets.

@sokil
Last active June 28, 2021 08:54
Show Gist options
  • Save sokil/bfa516d5e1d87183f99b596d3b1311e1 to your computer and use it in GitHub Desktop.
Save sokil/bfa516d5e1d87183f99b596d3b1311e1 to your computer and use it in GitHub Desktop.
PEM generation
# create private key with passphrase
openssl genrsa -out config/jwt/private.pem -aes256 4096
# Write public key
openssl rsa -pubout -in private.pem -out public.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment