Add letsencrypt to Home Assistant with own domain-name

Robert Andresen Home Assistant, Tutorials Leave a Comment

Follow

Source: https://certbot.eff.org/lets-encrypt/ubuntubionic-other

Source: https://serverfault.com/questions/750902/how-to-use-lets-encrypt-dns-challenge-validation

Before pressing enter, I added the TXT record in my DNS. After adding it, I waited a couple of minutes before pressing enter.

Add to Home Assistant

For now, I copied the certificates from /etc/letsencrypt/live/… to a SSL folder under my Home Assistant config.

Renew

It looks like the domain-registrar has to support a script to update TXT record, to renew a certificate. You can see different examples on the sources above.

I have asked my domain-registrar if they support this. If not I will maybe change provider. I’ll try to update this article when I have found a solution for this.