Unable to connect to home assistant in local network when using SSL

Hi. I am not able to connect to my home assistance from my Iphone when I am in my local network over wifi and use the local URL. I can reach the login page of home assistance but when I sign in with my credentials I get an error “Unable to connect to Home Assistant” and see a “Retry” button.

Here is my setup: HomeAssistant + DNS + LetsEncrypt + RPi3 on port 443. HA runs on docker in 192.168.0.100.

http:
  base_url: example.ddnsfree.com
  ssl_certificate: fullchain.cer
  ssl_key: cert.key
  server_port: 443
  login_attempts_threshold: 10

From the logs I got:

[homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.0.51

It works quite well if I disable SSL and use port 8123. It is working well also when I use mobile network of my Iphone and use https://example.ddnsfree.com:443. Interestingly I don’t have this problem if I connect over my notebook from the local network using the local URL.

Any idea why my Iphone does not work?

1 Like

Try to use different browser, ssl certificate is online for dns address not for local…so your browser must shows an alert about this to continue the navigation.