Skip to content

Instantly share code, notes, and snippets.

@marschhuynh
Created March 29, 2018 16:31
Show Gist options
  • Save marschhuynh/c9fc04b20d6f29c694b77fe2bbbe97da to your computer and use it in GitHub Desktop.
Save marschhuynh/c9fc04b20d6f29c694b77fe2bbbe97da to your computer and use it in GitHub Desktop.
self-signed certificate
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/cert.key -out /etc/nginx/cert.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment