I am trying to setup the Duck DNS add-on with let’s encrypt on hass.io but I can’t get it to work,
The config in the add-on looks like this
{
“lets_encrypt”: {
“accept_terms”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
},
“token”: “token”,
“domains”: [
“domain”
],
“seconds”: 300
}
My configuration.yaml looks like this
http:
api_password: !secret http_password
base_url: https://x.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
I have tried to forward port 80>80, 433>433 and 8123>8123. I also tried 433>8123 without any success. Am I suposed to generate any key or do anything more the add this to the config?
Can anyone help mw to get let’s encrypt up and running?
I gett this error in the logbok
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem'
not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 11). Please check the docs at https://home-assistant.io/components/http/
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of api. Setup failed for dependencies: http
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not setup all dependencies.
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not setup all dependencies.
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: http
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api
2017-10-30 19:37:26 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of tts. Setup failed for dependencies: http
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera. Setup failed for dependencies: http
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for camera: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of config. Setup failed for dependencies: http
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: frontend
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of panel_iframe. Setup failed for dependencies: frontend
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for panel_iframe: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of hassio. Setup failed for dependencies: http
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for hassio: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of zeroconf. Setup failed for dependencies: api
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not setup all dependencies.
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of ios. Setup failed for dependencies: http, zeroconf
2017-10-30 19:37:27 ERROR (MainThread) [homeassistant.setup] Setup failed for ios: Could not setup all dependencies.