Last active
December 13, 2017 16:43
-
-
Save amdelamar/f756908b1480017fa3985756bfdaa047 to your computer and use it in GitHub Desktop.
Generates 2048bit RSA keypair
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Generates 2048bit RSA keypair | |
openssl genpkey -algorithm RSA -out jwt_private_key.pem -pkeyopt rsa_keygen_bits:2048 | |
openssl rsa -pubout -in jwt_private_key.pem -out jwt_public_key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment