Feb 17 21:01:21 hassbian hass[515]: 2019-02-17 16:01:21 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/authorize to PRIVATE IP ADDRESS (auth: False)
Feb 17 21:01:21 hassbian hass[515]: 2019-02-17 16:01:21 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/providers to PRIVATE IP ADDRESS (auth: False)
Feb 17 21:01:22 hassbian hass[515]: 2019-02-17 16:01:22 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to PRIVATE IP ADDRESS (auth: False)
Feb 17 21:01:38 hassbian hass[515]: 2019-02-17 16:01:38 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow/ gobbledygook to PRIVATE IP ADDRESS (auth: False)
Feb 17 21:06:07 hassbian hass[515]: 2019-02-17 16:06:07 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/providers to PRIVATE IP ADDRESS (auth: False)
Feb 17 21:06:07 hassbian hass[515]: 2019-02-17 16:06:07 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to PRIVATE IP ADDRESS (auth: False)
Cannot locate any IP BAN file in hassnian HA configuration.
Have read conflicting information that self-signed certs may or may not work with iOS and HA.
I think I remember. I emailed the public certificate and then installed it on my iPhone from within the mail app. Then you have to go into general then profiles and trust the certificate. Then I went into the HA app and connect to https://hassio.local
I think getting the trust button to show can be an issue.
By the way I used this repository and add on to do ssl certificates. Very easy to do. It runs and creates the cert. It does not need to run unless you need an cert created.
I also use port 443 not 8123 as setup in the config file.
Sorry my setup is very different to yours; I’ve got an external domain setup as I like to trigger things on me arriving and leaving work. Has it ever worked on iOS?
Then try logging in without the port after your IP address in HA. Also try hassio.local port number as well.
Failing that I would try removing the certificates you’ve imported and try again. If you can’t manually remove them you may have to reset network settings, but of course that will reset all the network stuff on your phone.
Failing that I’m afraid I’m fresh out of ideas as my setup uses LetsEncrypt and an external domain so it’s a very different setup.
I thought I’d jump into this thread and say I’m experiencing the same issue.
I set Home Assistant up to use a self signed certificate. All works fine from my Mac when I hit either https://hassio.local:8123 or the IP address of the instance, but when I try to do it from the iOS app (or any iOS browser for that matter) I get the same result as reported in the above posts.
I set the logger to debug mode, but there was literally nothing in it related to logging in. Is there a different way to output some logs for this?
I got things sorted. The issue—at least in my case—was that iOS 13 has new, stricter certificate requirements. I was able to generate a self-signed certificate based on this post that, when installed, has allowed me to use a self signed cert with HA.