I am still new to home assistant. I am getting this error and cannot log in:“Unable to connect to home assistant. Encountered error. Failed to perform ssl handshake, please ensure your cerificate is valid”
I have received this error previously and it usually happens whenever I update the home assistant core when prompted to do so. Previously, I restarted home assistant and/or restarted my router and it seemed to resolve itself, but it is not working this time.
My setup is as follows:
Home assistant green
Use the companion app on my android phone to connect to home assistant or use my laptop and just enter the web address
Have home assistant cloud set up.
Thanks for any advice. I did look at a similar topic on the community forums but could not find anything that worked. I would like to be able to log into home assistant in the short term and in the long term resolve this issue so that it does not occur again.
You could also try to connect to the IP address instead ie. http://ip:8123, which will leave out the mDNS hostname issues.
If you have set up a domain and use https, then make sure that is in your certificate is valid, your url is pointing to the right IP (ping it) and that you are not blocked by your ISP (open up your url in a browser with http in front).
Thanks Wally. Just an update. I reset the home assistant green and restored from a back up so I can gain access to the home assistant UI now.
To answer the question, I was attempting to connect to home assistant local http://homeassistant.local:8123 and it was not working. I was also unable to connect to the home assistant cloud URL.
So when I log in to the UI, I am now being prompted to update to Home Assistant Code 2025.11.2. I fear if I do this, I will go back to where I started with getting the error again. Is there something I can do to avoid this or have you any advice. I am not super technical
You have an issue in your mDNS network.
Either you changed your name in the HAOS network settings, which will change your mDNS name accordingly or you have some device that corrupt the mDNS system, which probably ain’t HA.
mDNS is used to translate your xxx.local to an IP address and then connect to that, so you can always just use the IP address instead of xxx.local
DNS is also used to translate a xxx.someTLD to an IP address, so that can be used too, but this requires a DNS service somewhere and the understanding to run such a thing.