Add SSL
Video Lecture
Description
Let's make http://my-project.your-domain.tld have an SSL certificate and auto-forward all HTTP traffic to HTTPS
Note
It is important that your domain name has fully propagated across the internet before attempting this step since the CertBot servers will try to validate your domain from different locations in the world.
DNS Checker works well for checking global DNS propagation. Enter your domain and select the A option.
These instructions are for Nginx running on Ubuntu 20.04. For different operating systems and web servers, check the Certbot website.
Ensure the snapd package manager is up-to-date.
sudo snap install core; sudo snap refresh core
Install CertBot
sudo snap install --classic certbot
Prepare the CertBot command
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Now we can run CertBot and follow the prompts.
sudo certbot --nginx
Now visit the https version of your URL.
https://my-project.your-domain.tld
You can also visit the example that was created in the video.