I installed my SSL Certificate, but my connection is not secure. How do I fix this?
Posted: Mon Sep 17, 2018 11:45 pm
I checked and made sure my SSL was installed properly as well (I used decoder to check). When I go to my website however, it says website not secure. I figured i have to follow the instructions which are written as so:
How to force https/SSL on a domain
1. Install custom nginx template
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-h ... inx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz
3. Create new package or set force-https as nginx template in the existing package
4. Add new user and assing him package with force-https template
5. Add new domain with SSL certificate and check the result
I have no idea how to follow these instructions. I asume I have to enter the command lines onto my server through PUTTY (I am using Putty, so thats why I enter it through Putty). But when I enter cd /usr/local/vesta/data/templates/web, it switched me to that directory. I get vesta cp but after doing tar and rm, I do not know what to do. Any help will be appreciated. I know this is a simple issue, I am just technologically illiterate. Please explain step by step if you do decide to help! Thank you.
How to force https/SSL on a domain
1. Install custom nginx template
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-h ... inx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz
3. Create new package or set force-https as nginx template in the existing package
4. Add new user and assing him package with force-https template
5. Add new domain with SSL certificate and check the result
I have no idea how to follow these instructions. I asume I have to enter the command lines onto my server through PUTTY (I am using Putty, so thats why I enter it through Putty). But when I enter cd /usr/local/vesta/data/templates/web, it switched me to that directory. I get vesta cp but after doing tar and rm, I do not know what to do. Any help will be appreciated. I know this is a simple issue, I am just technologically illiterate. Please explain step by step if you do decide to help! Thank you.