Created
July 14, 2016 12:39
-
-
Save rogerwalt/76ddf7057af2ed97580b383e3b66d82c to your computer and use it in GitHub Desktop.
create a self-signed ssl certificate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt | |
ssl_certificate /etc/nginx/ssl/nginx.crt; | |
ssl_certificate_key /etc/nginx/ssl/nginx.key; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment