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 24.04 LTS. For different operating systems and web servers, check the Certbot website.
A brand new Ubuntu 24.04 will have snap running already.
You can check by typing,
# |
|
You should see the hlp information and not an error.
If you need to install snap,
# # |
|
And restart your server.
Install CertBot.
# |
|
Prepare the CertBot command
# |
|
Now we can run CertBot and follow the prompts.
# |
|
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.