Skip to content

Instantly share code, notes, and snippets.

@tumichnix
Created April 28, 2017 13:45
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 tumichnix/fae88eb9a1961f0c524efa617aa89401 to your computer and use it in GitHub Desktop.
Save tumichnix/fae88eb9a1961f0c524efa617aa89401 to your computer and use it in GitHub Desktop.
openssl self-sign-cert
openssl genrsa -des3 -out server.key 4096 && openssl req -new -key server.key -out server.csr && cp server.key server.key.org && openssl rsa -in server.key.org -out server.key && openssl x509 -req -days 1096 -in server.csr -signkey server.key -out server.crt && rm -f server.key.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment