I set up my Home Assistant to be available outside of local network using Cloudflare, Cloudflare add-on and Let’s Encrypt addon. Certificates are created for my external address (domain) specifically.
Every time I try to connect to a local address of Home Assistant using a web browser, I need to click “Trust” in order to connect to the address because the certificate does not correspond to the URL. Home Assistant Companion just refuses to connect at all, and there is no option to “Trust” the certificate.
This raises two questions.
Is there any way to allow local IP addresses to use HTTP?
Is there any way to bypass the SSL error in Home Assistant Companion CEF?
Hi, I’m trying to solve the same issue with your suggesion but when putting my local ip in the domain names, nginx is getting me an error “Requested name 192.168.178.11 is an IP address. The Let’s Encrypt certificate authority will not issue certificates for a bare IP address”
Hi guys, I have the same issue ang I hope you can help me to solve it.
Im trying to use tailscale instead of duckdns + port forwarding.
I can connect my HA remotely while using the web browset, but while tryong to use the HA app I got a certification error.
I tried to follow the instructions above but Im not sure what should I add as the domain.
Thanks anyway! I fixed it deleting all https related config on configuration.yaml. That was blocking the addon somehow. Looks like SSL needs to be handle either from the config itself or the Nginx Proxy Manager addon.
allow remote access in the “Access to web applications” section (http, tcp/8123)
copy your 4th-level domain name to HA->config->network->hostname(top section of the network settings, just domain without http://)
Optional - i did it at the same time with step 3, so don’t know if it’s needed.
set URL-address for internet - https://YOUR_DOMAIN_NAME and for LAN -
Works fine for me with ip address in LAN and domain name(use https:// prefix) with HA companion for android.