Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Created September 3, 2016 19:49
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 LarsBergqvist/fe97bbd1c970733a4bf111ed9a61de34 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/fe97bbd1c970733a4bf111ed9a61de34 to your computer and use it in GitHub Desktop.
Generate a key and a certificate
openssl genrsa 1024 > ssl.key
openssl req -new -x509 -nodes -sha1 -days 365 -key ssl.key > ssl.cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment