Skip to content

Instantly share code, notes, and snippets.

@ishikawa
Created August 23, 2017 01:21
Show Gist options
  • Save ishikawa/c15be01833123ce8c742677896ed73e9 to your computer and use it in GitHub Desktop.
Save ishikawa/c15be01833123ce8c742677896ed73e9 to your computer and use it in GitHub Desktop.
Create public/private key pair by openssl
# 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