Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I used this years ago to implement SSL for a bunch of customer vanity domains, and as far as I know it's still operating.

The best thing is it's declarative: you provide a text file with domains you want in each certificate, and it makes it happen.

Certbot has discrete commands you have to run to add, remove, or modify certificates, so you have to keep track of state. We had a management UI to control these domains, so it didn't work well with something like terraform (which I think otherwise solves the state problem for certbot). Instead we just wrote out the domain file based on db config changing + daily, and ran dehydrated. If there were no certificate changes or renewals needed, nothing would happen.

Also the hooks are great, iirc we had a pre-check in place for our own http-01 validation, so as not to cause failures on let's encrypt. (Mostly customers would cname domains to us, but lots could go wrong). We were also using s3 to store the validation files (again, super easy with bash hooks) to make it work across a pool of load balancers.

This is a great example of a tool where a focus on simplicity (config, hooks, and the way it stores everything) creates an incredibly easy to use, flexible (and thus powerful) system.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: