Skip to content

Instantly share code, notes, and snippets.

@jerel
Created November 12, 2012 01:05
Show Gist options
  • Select an option

  • Save jerel/4057007 to your computer and use it in GitHub Desktop.

Select an option

Save jerel/4057007 to your computer and use it in GitHub Desktop.
One liner to create self signed ssl cert
$ mkdir ssl
$ cd ssl
$ openssl genrsa -out server.key 2048 && openssl req -new -key server.key -out server.csr && openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
// founded it posted in the comment section of some guy's blog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment