Letsencrypt on HassIO

try to follow this. it works for me.

  1. install the addons letsencrypt
  2. setup configuration.yaml - don’t change anything
    http:
    ssl_certificate: /ssl/fullchain.pem
    ssl_key: /ssl/privkey.pem
  3. open the port fowarding 443:443 and 80:80 on your router
  4. turn off all other addons
  5. fill the options on the letsencrypt
    {
    “challenge”: “https”,
    “email”: “[email protected]”,
    “domains”: [
    sample.duckdns.org
    ],
    “certfile”: “fullchain.pem”,
    “keyfile”: “privkey.pem”
    }
  6. click “save”, then you must able to “start” the addons
  7. Start the “SSH Server” addons for the troubleshooting and other addons as well to prevent error after restarting homeassistant
  8. restart homeassistant
  9. setup your port forwading 443 to internal port 8123 on your router
  10. you must able to access your https://sample.duckdns.org
6 Likes

thanks. it works now

1 Like

ok i got running letsencrypt and duckdns my question is does letsencript add-on will renew itself and if so do i need to leave port 80 and 443 open?

I believe it’s only when you need to renew. So if you plan to renew manually you can just re-open them when you’re ready.
(Kind of kills the automation though. I wish Let’s Encrypt would allow DNS verification already!)