Created
September 14, 2014 14:42
-
-
Save noomz/59f9e8412a633716f524 to your computer and use it in GitHub Desktop.
COMODO SSL with NGINX
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
# 1. Download all cert files | |
# 2. Run command, replace www_example_com.crt with your domain cert | |
cat www_example_com.crt COMODORSAAddTrustCA.crt COMODORSADomainValidationSecureServerCA.crt AddTrustExternalCARoot.crt > ssl-bundle.crt | |
# 3. Upload ssl-bundle.crt and www_example_com.key to your server. | |
# 4. Config nginx | |
# ------------------------ | |
# listen 443; | |
# | |
# ssl on; | |
# ssl_certificate /path/to/key/file/www_example_com/ssl-bundle.crt; | |
# ssl_certificate_key /path/to/key/file/www_example_com/www_example_com.key; | |
# ------------------------ | |
# 5. Restart nginx server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment