Added SSL certificate
Well, that was easier than expected. I followed the directions here: https://linuxvox.com/blog/install-ssl-certificate-ubuntu/. Added a “Let’s Encrypt” certificate using certbot.
a2enmod ssl
systemctl reload apache2
certbot --apache -d yourdomain.com -d www.yourdomain.com
Expires every 90 days. Auto-renew:
crontab -e
Add:
0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew --quiet




