Ssl cert error in config

I have this error when I add the cert paths to my config file:

Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got '/etc/letsencrypt/live/mydomain.duckdns.org/fullchain.pem’ not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got '/etc/letsencrypt/live/mydomain.duckdns.org/privkey.pem’. (See /config/configuration.yaml, line 44). Please check the docs at https://home-assistant.io/components/http/

Not really sure what to do about it. The letsencrypt install was done with the command line and hassio was done adding it a docker container. Seems there is the issue of Hassio not finding or having permission to cert file outside of docker.

How can I create a docker container of just letsencrypt files and would that fix the issue?

Thanks for any help you might be able to provide. I am wasting so much time on this issue.

Please see the sticky post for how to format code, and errors.

Your problem is a few things:

  1. You’re using Hass.io and not using the DuckDNS add-on
  2. Docker

The way Docker works is that each container is effectively it’s own computer. When you change files in the host, it doesn’t change anything in any container (unless you’re changing things in a volume). The same works the other way.

Thanks for responding. I will try to do the DuckDNS add-on and see if that works.