Well now I am using duckdns for testing and after using dehydrater i get an error
2018-01-15 20:17:29 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/volume1/homeassistant/config/ssl/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/volume1/homeassistant/config/ssl/privkey.pem’. (See /config/configuration.yaml, line 27). Please check the docs at HTTP - Home Assistant
HA runs as root in synology docker and tried different locations and all chmod / chown options I think
To do certbot http authentication you should not have 80 and 443 pointing to HA
This should point to hostserver/certbotfolder or something similar. Certbot should have read/write access to folder. What happens is certbotfolder places file on server via 80 then checks via 443 for file.
I use nginx in front of server and 80 and 443 go there.
I then use nginx config file to determine where incoming 80 and 443 requests go. When renew domains, config file temporary Change so all request for all I domain go to certbot…then change back after renew (10-20 second downtime). Not needed for you but just extra info. If you forward 80 and 443 to certbot read/writeable folder it will be enough
2018-01-16 07:08:32 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_certificate’]. Got ‘/config/ssl/fullchain.pem’
not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/config/ssl/privkey.pem’. (See /config/configuration.yaml, line 27). Please check the docs at HTTP - Home Assistant
2018-01-16 07:08:32 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.