Hi there,
I tried setting up acme.sh in hass.io (logged in via ssh, as root, executed the instructions as per How issue a certificate from Let's Encrypt NOT Using HTTPS or HTTP - ACME.SH). Result: all needed .cer and .key files are generated in /root/.acme.sh/mydomain.duckdns.org/. So far so good. Then:
I tried to change the http: part of configuration.yaml like this:
http:
api_password: mypassword
base_url: https://mydomain.duckdns.org:8123
ssl_certificate: /root/.acme.sh/mydomain.duckdns.org/mydomain.duckdns.org.key
fullchain.cer
ssl_key: /root/.acme.sh/mydomain.duckdns.org/mydomain.duckdns.org.key
But the configuration check says:
Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/root/.acme.sh/mydomain.duckdns.org/fullchain.cer' not a file for dictionary value @ data['http']['ssl_key']. Got '/root/.acme.sh/mydomain.duckdns.org/mydomain.duckdns.org.key'. (See /config/configuration.yaml, line 104). Please check the docs at https://home-assistant.io/components/http/
A chmod 755 to the directory /root/.acme.sh/mydomain.duckdns.org did not help, nor did renaming the .cer and .key to .pem.
What am I missing ?
TIA
Peter