Skip to content

Instantly share code, notes, and snippets.

@mstyne
Created October 11, 2013 17:29
Show Gist options
  • Save mstyne/6938749 to your computer and use it in GitHub Desktop.
Save mstyne/6938749 to your computer and use it in GitHub Desktop.
Self signed certificate one liner
openssl req -new -x509 -days 365 -sha1 -newkey rsa:1024 -nodes -keyout server.key -out server.crt -subj '/O=Company/OU=Department/CN=www.example.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment