Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_key’]. Got ‘/share/ssl/privkey.prem’. (See /config/configuration.yaml, line 14).
Hass.io (ERROR) -
The ‘base_url’ option is deprecated, please remove it from your configuration
HTTP (WARNING)
Does anyone have any idea how to solve this.
I am new to this so a bit detailed explanation would be very appreciated.
In addition to @tom_l 's comments, you need to carefully check what the actual contents of your configuration.yaml are, as the error message clearly shows that you have supplied a different path in your configuration to the one you pasted here, and have misspelled ‘pem’ in your configuration also.
Hi,
Thanks for your quick reply! Really appreciated.
Prem wasn’t in the script, I do not know why it was in my email, typo?
Just to try, I copied the SSL directory into the config directory and changed the lines to:
The good news is that something changed after a restart of the HA server.
HA now cannot be reached from the local address (what I expected) but unfortunately also not from duckDNS.
So something still is not right.
As I look on the newer instructions, should this be like this?
I put a # for the lines I’m not sure if needed.
Impossible to say as you have not formatted your post correctly so we can not see if you have the correct indentation. This is very important. Please read point 11 here, then edit your post.
The problem turns out my Surfshark VPN, all my internet traffic is routed tru this VPN.
It is centrally running on a QNAP server.
If I shut off Surfshark VPN, it works!