Created
August 23, 2017 01:21
-
-
Save ishikawa/c15be01833123ce8c742677896ed73e9 to your computer and use it in GitHub Desktop.
Create public/private key pair by openssl
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
# Create a private key | |
$ openssl genrsa -out private-key.pem 2048 | |
# and public key | |
$ openssl rsa -in private-key.pem -pubout -out public-key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment