↓Skip to main content

Claude

2026


Setting Up and Automating Let's Encrypt Certificates with Certbot and Nginx

·8 mins

I run my sites on a small Linux server with nginx, and for a long time I renewed my HTTPS certificate by hand with a little shell script. It worked, until I realised that Let’s Encrypt certificates are only valid for 90 days and that I had no idea whether my “automation” would actually survive without me. This post documents how I set things up properly, so I (and anyone else reading) can repeat it without guessing.

I worked through the details with Claude, an AI assistant, and double-checked the important claims against the Let’s Encrypt documentation.

Continue Reading →