Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jstaffans/5c56b687f0f75a330d2df251c564e24d to your computer and use it in GitHub Desktop.
Save jstaffans/5c56b687f0f75a330d2df251c564e24d to your computer and use it in GitHub Desktop.
Generate own SSL certificate (useful for one-off tests, private machines)
sudo openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout "cert.key" -out "cert.pem" -batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment