Originally Posted by
cdnmatt
Do you know how to login to your server via SSH? Assuming you're running Nginx, login via root, and type:
sudo apt-get -y install certbot
/etc/init.d/nginx restart
certbot certonly
Select 1 for the first question, enter your domain name, and it'll generate your SL cert for free. In the /etc/nginx/conf.d/ directory, look for your http config file. Inside there you should see two lines for the directives:
ssl_certificate
ssl_certificate_key
Change the values of those two lines to point to the newly created SSL files that 'certbot' would have given you the location of. Then restart Nginx with:
/etc/init.d/nginx restart
Site will work fine after that.