Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95295

Unable to get ssl working in docker installation - HA cannot be accessed if ssl files are stated in configuration.yaml

$
0
0

@langph wrote:

I have been operating home assistant from OMV 4.3 via docker. SSL is renewed automatically via letsencrypt in OMV. Some time ago, the SSL configuration led to a non-working application. Probably after a upgrade, upgrades are automatically applied with “watchtower”.

Setup is : as host, no privileged mode
mounts:

/sharedfolders/HA/homeassistant to /config
/etc/letsencrypt/live/mycert to /ssl

in configuration.yaml, I have:

ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
base_url: https://my_url:8123

HA is installed in /sharedfolders/HA/home assistent

I have tried setting rights to full access, I have tried copying the ssl files to a different folder. If I put these two lines in configuration.yaml, I get the following error message: “Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/ssl/fullchain.pem’”.

If I copy the files (automatically to a folder /sharedfolders/HA/mycert and change the mounts in Docker, the error disappears, but HA still cannot be accessed. (ERR_EMPTY_RESPONSE).

How can I resolve this?

EDIT: https works, it’s the local http address that does’nt.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>