Automating Letsencrypt renewals with DNS-01 challenges Letsencrypt and certbot are great for getting SSL certificates, however, if you’re using DNS-01 it’s not easy to automate renewals. I decided to fix that, at least for my use case with CloudFlare.