Let’s Encrypt refresh
Back in 2016 I did a half-hearted attempt to enable SSL on my web servers, by using Let’s Encrypt. At that point all the scripts were relatively new, I think I used certbot 0.27. The little project is all grown up now and is already deprecating a protocol I relied on (ACME TLS-SNI-01). They were nice enough to send out a warning email about it, although dumbly the sent the “Action Required” email before the site’s docs have been written.
I read enough docs to realize that changing protocols basically means getting a new certificate. Also realized I needed to upgrade certbot, or at least really should, so basically I started over. Here’s what I did
- Removed the old certbot. Bits of it were in $HOME/ssl, $HOME/.local/share, /etc/letsencrypt, /var/log, and root’s crontab. Kind of a mess.
- Follow the Ubuntu instructions to follow a PPA for the new certbot
- apt-get install python-certbot-apache
- apt-get install python3-pyasn1
- Run certbot --apache and trust its configuration
- Test with ssllabs
Really all was super simple, hats off to EFF and Let’s Encrypt for building such a turnkey tool. The only wrinkle in my config is that all my server’s domains share a single SSL certificate with a bunch of different domain names on it. It’d be cleaner to have those separate, I imagine there’s some way I can do that.
I haven’t tested that all my sites work right under SSL. Both Windhistory and Logs of Lag are complaining about mixed SSL/nonSSL content. Meh.