Skip to content

Instantly share code, notes, and snippets.

@denisinla
Last active August 29, 2015 14:04
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 denisinla/fb255257ac674e5f8e67 to your computer and use it in GitHub Desktop.
Save denisinla/fb255257ac674e5f8e67 to your computer and use it in GitHub Desktop.
$ openssl genrsa -out key.pem
$ openssl req -new -key key.pem -out csr.pem
$ openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
$ rm csr.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment