How to issue a Let’s Encrypt certificate with Certbot on Nginx, confirm that automatic renewal really works, and fix the errors that stop renewals on a VPS.
Step-by-step: secure an Nginx site on Ubuntu with a free Let’s Encrypt certificate using Certbot, force HTTPS, confirm automatic renewal and fix the usual errors.