Home assistant core + container + dehydrated

Hello everyone, I just finished to setup my Home assistant core container version on my raspberry pi 4, after that I decide to implement dehydrated to activate ssl unfortunately it gives me an error on certificates, I think it’s a permission problem from what I found here but the resolution is not the same for everyone some have increased the permissions with 777 others have had to change the folder containing the certificates this is the home assistant error log:

WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/home/homeassistant/dehydrated/certs/xxx.xxx…org/fullchain.pem’

not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/home/homeassistant/dehydrated/certs/xxx.xxx.org/privkey.pem’. (See /config/configuration.yaml, line 21). Please check the docs at https://www.home-assistant.io/integrations/http

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_log. Setup failed for dependencies: http

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not set up all dependencies.

2020-12-14 13:48:27 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=26 from 2020-12-05 18:01:09.263368)

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not set up all dependencies.

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: Could not set up all dependencies.

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not set up all dependencies.

2020-12-14 13:48:27 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of image. Setup failed for dependencies:

… ecc

Here the permissions on the certs folder (home/homeassistant/dehydrated/certs/xxx.xxx.org/):

-rwxr-xr-x 1 homeassistant homeassistant 1671 dic 5 17:29 cert-1607185742.csr

-rwxr-xr-x 1 homeassistant homeassistant 2212 dic 5 17:29 cert-1607185742.pem

lrwxrwxrwx 1 homeassistant homeassistant 19 dic 5 17:29 cert.csr -> cert-1607185742.csr

lrwxrwxrwx 1 homeassistant homeassistant 19 dic 5 17:29 cert.pem -> cert-1607185742.pem

-rwxr-xr-x 1 homeassistant homeassistant 1587 dic 5 17:29 chain-1607185742.pem

lrwxrwxrwx 1 homeassistant homeassistant 20 dic 5 17:29 chain.pem -> chain-1607185742.pem

-rwxr-xr-x 1 homeassistant homeassistant 3799 dic 5 17:29 fullchain-1607185742.pem

lrwxrwxrwx 1 homeassistant homeassistant 24 dic 5 17:29 fullchain.pem -> fullchain-1607185742.pem

-rwxr-xr-x 1 homeassistant homeassistant 3243 dic 5 17:29 privkey-1607185742.pem

lrwxrwxrwx 1 homeassistant homeassistant 22 dic 5 17:29 privkey.pem -> privkey-1607185742.pem

After the first start I changed them in overpermissive but it doesn’t change a comma.
Can someone give me a hint?
P.S Changing the folder doesn’t work either.

1 Like

Seriously no one has never faced this error?

Nobody has never faced this issue? I seriously doubt it.