I’ve been searching for an answer to my problem but it seems all I can find is the problem but no solution.
I’ve got HA set up and running and I want to make it outward facing so I can do stuff while I’m away. Every time that I enable SSL it completely stops HA from starting,
[homeassistant.bootstrap] Component http failed to setup
further more I get an error for the key itself.
[homeassistant.bootstrap] Invalid config for [http]: not a file for dictionary value @ data[‘http’][‘ssl_key’]
I originally thought it was just the forwarder I was using so I switched to duckdns and followed all the how-to’s and faqs but still no go. Would really like to get this working.
You can get the version number from the little i on the left menu, under Developer Tools.
As for the error, please post that section of the configuration file, remembering to use the code tags (looks like </> in the text editor bar) so that the formatting isn’t lost. I suspect, from the error, a typo in ssl_key.
I ran into the same issue yesterday. My certificate expired a couple days ago and finally got to update it yesterday, but couldn’t get it to load up. I had to comment out all the SSL stuff out to get it to load. Thought it was something I did updating the certificate.
One option, which is how I’ve done it, is to use the likes of nginx in reverse proxy mode. I went with that so that I could require (SSL and) authentication from outside the house, but no authentication from inside.
I’ve tried that and it works to a degree. I can get HA to display the login screen. Unfortunately it stops at the login page and goes no further. I just get the spinning icon and a failed loging attempt. I can’t even find anything in the logs to figure out what the actual issue is.
I was using the conf from the site and nginx was throwing a fit about the HTTP{} section. a few ### and It’s up and running now. :schew!:
My biggest issue was that I’m already running a dns forwarder so I piggybacked on that to keep the number of services and certificates down and having to work that across 2 devices.
Still doesn’t fix the original problem but I’m fine with this method.