Let's Encrypt


You should not use this if you are also using the DuckDNS add-on. The DuckDNS add-on has integrated Let’s Encrypt support.

Setup and manage a Let’s Encrypt certificate. This addon will create a certificate on the first run and will auto-renew if the certificate is within 30 days of expiration.

{
  "email": "[email protected]",
  "domains": ["example.com", "mqtt.example.com", "hass.example.com"]
}

Configuration variables:

  • email (Required): Your email address for registration on Let’s Encrypt.
  • domains (Required): A list of domains to create/renew the certificate.

Home Assistant configuration

Use the following configuration in Home Assistant to use the generated certificate:

http:
  base_url: https://my-domain.tld:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

If you use another port such as 8123 or an SSL proxy, change the port number.