Skip to content

Instantly share code, notes, and snippets.

@aal89
Created October 22, 2018 15:28
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 aal89/0f0dbc690a8a91fb95992c55bbf957ca to your computer and use it in GitHub Desktop.
Save aal89/0f0dbc690a8a91fb95992c55bbf957ca to your computer and use it in GitHub Desktop.
Generate rsa public/private key pair using openssl
openssl genrsa -out key.pem 512
openssl rsa -in key.pem -outform PEM -pubout -out public.pem
@aal89
Copy link
Author

aal89 commented Oct 22, 2018

Note: only 512 bits key!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment