Notes about setting up HTTPS on websites using LetEncrypt and certbot
As a note to self, I added SSL/TLS certificates to a couple of websites using LetEncrypt. Here are a couple of notes about the process:
- Read the LetEncrypt docs
- They suggest using certbot
- Read those docs, and follow their instructions for installing the packages you’ll need
- Make sure your server firewall rules allow port 443 (You may get an “Unable to connect to the server” error message if you forget this part, as I did)
- After making some backups, run this command as root: