Skip to content

Instantly share code, notes, and snippets.

@bradynpoulsen
Created June 30, 2016 22:06
Show Gist options
  • Save bradynpoulsen/d6398f9afcdf0ef58e7645934104f332 to your computer and use it in GitHub Desktop.
Save bradynpoulsen/d6398f9afcdf0ef58e7645934104f332 to your computer and use it in GitHub Desktop.
Generate a Private Key using OpenSSL with PHP
php -r '$key = openssl_pkey_new(); openssl_pkey_export($key, $privateKey); echo $privateKey;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment