Lets Encrypt on hass.io

Have just started with HA using hassio on a Raspberry Pi3. Are really enjoying it so far, but…

I am following this instruction to install DuckDNS and Lets Encrypt. DuckDNS is up and running, but are struggling with the setup for Lets Encrypt. Found out that I had to use curl -O instead of wget…

Then i get an error typing in this line in ssh using the root user(have used my own values in ssh for email and domain):
./certbot-auto certonly --standalone --standalone-supported-challenges http-01 --email [email protected] -d YOURSUBDOMAIN.duckdns.org.

Error message:
Sorry, I don’t know how to bootstrap Certbot on your operating system!

You will need to install OS dependencies, configure virtualenv, and run pip install manually.
Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites
for more info.


Any help with this issue will be most appreciated :slight_smile:

Follow the instructions at https://home-assistant.io/addons/lets_encrypt/ instead.

1 Like

This one is very detailed and though I am using it with nginx after it is configured

Yes, but it is not for hassio installation. With hassio you need to use an addon to get the let’s encrypt certificate.

If you need nginx you also need an addon (either the official one or mine if you need to proxify multiple services). If you need to proxyfy multiple services with ssl, you can also try my caddy proxy addon which integrate let’s encrypt (automatic certificate creation and renewal)

Ok I am running a number of things on raspbian including home assistant docker only for mqtt bridge for ST, just loves the flexibility