Skip to content

Instantly share code, notes, and snippets.

@digitalfiz
Created September 21, 2018 21:27
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 digitalfiz/e64646a7c41dd1d55c71926a33fe0e2a to your computer and use it in GitHub Desktop.
Save digitalfiz/e64646a7c41dd1d55c71926a33fe0e2a to your computer and use it in GitHub Desktop.
Generate self signed cert
openssl genrsa -aes256 -out private.key 2048
openssl rsa -in private.key -out private.key
openssl req -new -days 1095 -key private.key -out cert.csr
openssl x509 -in cert.csr -out cert.cert -req -signkey private.key -days 1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment