Skip to content

Instantly share code, notes, and snippets.

@dynamicguy
Created September 4, 2015 22:41
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 dynamicguy/57c96f70cf48e3bf7c2d to your computer and use it in GitHub Desktop.
Save dynamicguy/57c96f70cf48e3bf7c2d to your computer and use it in GitHub Desktop.
$ openssl genrsa 4096 > server.key
$ openssl req -new -key server.key > server.csr
$ openssl x509 -days 3650 -req -signkey server.key < server.csr > server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment