Skip to content

Instantly share code, notes, and snippets.

@Flushot
Created June 14, 2013 21:43
Show Gist options
  • Save Flushot/5785547 to your computer and use it in GitHub Desktop.
Save Flushot/5785547 to your computer and use it in GitHub Desktop.
Generates an RSA key pair (private.key and public.key)
#!/bin/sh
openssl genrsa -out private.key 4096
openssl rsa -in private.key -pubout > public.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment