A new community Let's Encrypt Addon with (much) better support for DNS-challenge

Hey friends,

One of my big Covid-19 projects was to migrate the services that were installed over several machines into home-assistant. Not long after I started, I got to a roadblock with the need to have SSL for some of the services.

I got a Firewall at home. For me, opening ports is something I prefer not to do, especially to the system that controls my entire house :man_shrugging:

I went to install the built-in Let’s-Encrypt addon and figured it’s using the old-school certbot command-line tool.
Certbot Has limited support when it comes to the DNS challenge. (HTTP challenge requires port opening, and as already said, that’s a big no-no for me).

I’m using a tool called Lego for a few years now and decided, as an open-source-oriented engineer, that it would be nice to have the ability to use this tool with Home Assistant.

So here is the new addon I wrote: via-justa/via-justa-home-assistant-addons: Repository for Home Assistant addons (github.com).

At the moment, you can use one of the 98(!) supported DNS providers for the DNS challenge or use it for the HTTP challenge as well.

In addition, the addon is running as a service and monitoring the certificates (and renewing them when needed).

It’s the first version. I’m more than open to receiving comments, requests, and issue reporting.

Have fun :smiley:

3 Likes

Do you support Google Cloud DNS for dynamic DDNS and Let’s-Encrypt w/ DNS option? That’d be great.

Also, some concerns:

Do you commit to keeping this up to date over time? It takes time to learn something new, and then have to migrate off of it due to compatibility/security issues 6 months down the line.

Also, would love to have more detailed documentation/examples.

Are there any instruction for using this addon? The config file in the addon looks a bit less informative.
Trying Cloudflares DNS Challange