Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created November 27, 2014 01:07
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 shichao-an/d956a17b29472889f8ae to your computer and use it in GitHub Desktop.
Save shichao-an/d956a17b29472889f8ae to your computer and use it in GitHub Desktop.
OpenSSL generate key into the same output file
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment