I followed the DO tutorial “How to secure Nginx with Let’s Encrypt on Ubuntu 14.04,” but when I open my site in the browser (Firefox) it does not show as secure (https://). The certbot tells me that I have a valid cert. All the .pem files are present. I am at a loss. I am running Ghost 0.11.1 on Ubuntu 14.04 Nginx.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Are you sure you followed whole tutorial you linked? As far as I see, there is no any directive for SSL. Also it is listening on HTTP (80) port instead of HTTPS (443). [How To Secure Nginx with Let’s Encrypt on Ubuntu 14.04] describes what you need to change in Nginx config file to use SSL.
First of all make sure you created Diffie-Hellman Group located at
/etc/ssl/certs/dhparam.pem
. If you did it, make sure you follow said tutorial from Step 3 — Configure TLS/SSL on Web Server (Nginx).Your server block should look something like:
If you created some other config file in
/etc/nginx/sites-available
make sure you made symbolic link from/etc/nginx/sites-available/example.com
to/etc/nginx/sites-enabled
. Also make sure old one is disabled.Make sure you restarted or reloaded nginx
sudo systemctl restart nginx
. Don’t forget to changeexample.com
to your domain ;)That did it! I had improperly linked the /etc/nginx/sites-available/example.com to /etc/nginx/sites-enabled/example.com. Thanks for the help!!!