I am working fine in 0.90.2. It worked on 0.90.1 too. I am not using the Hassbian scripts but am running in a virtualenv.
I’m trying to activate on my hassbian and got the following error:
Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/home/pi/dehydrated/certs/mydns.duckdns.org/fullchain.pem’ not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/home/pi/dehydrated/certs/mydns.duckdns.org/privkey.pem’. (See /home/homeassistant/.homeassistant/configuration.yaml, line 172). Please check the docs at https://home-assistant.io/components/http/
My configuration file is this:
http:
api_password: !secret hass_pass
ssl_certificate: /home/pi/dehydrated/certs/mydns.duckdns.org/fullchain.pem
ssl_key: /home/pi/dehydrated/certs/mydns.duckdns.org/privkey.pem
base_url: mydns.duckdns.org:8123
Can you help me?
I assume you substituted mydns
for your real chosen hostname.
Can you actually see the files in the /home/pi/dehydrated/certs/mydns.duckdns.org
directory? The ls
command should list them. Is your homeassistant user really named pi
?
Yes, I made this change for safety. Yes, SSH access with that same user and I see the keys normally. I have already tried to change the folder files and I have the same error.
You have to install openssl. The library that creates certificates.
If you are using HASS OS then you car run the next command to install it
apk add --update openssl && \
rm -rf /var/cache/apk/*