Skip to content

Instantly share code, notes, and snippets.

@jshbrntt
Created May 2, 2017 11:22
Show Gist options
  • Save jshbrntt/5f2df3bfb851f78bb9f13e6d185bd343 to your computer and use it in GitHub Desktop.
Save jshbrntt/5f2df3bfb851f78bb9f13e6d185bd343 to your computer and use it in GitHub Desktop.
Generate self-signed SSL certificate and key for HTTPS server
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment