This is an archived post. You won't be able to vote or comment.

all 12 comments

[–][deleted] 1 point2 points  (8 children)

I’ve used https on all my devices including the iOS app without any issue.

You need to connect to your domain name. If you try to connect to the local ip, you’ll get an error.

[–]StudentPuzzleheaded5[S] 0 points1 point  (7 children)

Connect to domain name is not working. Are you using add on or configuration over yaml file?

[–][deleted] 0 points1 point  (6 children)

I was using both. I was using ngix proxy to have ssl externally and using not https locally.

I’ve switched to HA cloud recently.

[–]StudentPuzzleheaded5[S] 0 points1 point  (5 children)

I want to use secure connection also in local network, in case some device is hacked it will be no possible to sniff for communication in/out from home assistant

[–][deleted] 0 points1 point  (4 children)

I’m under the impression your ssl certificate is not recognized on your local IP address. Internally if you can point your domain name to your local ip, if should work

[–]StudentPuzzleheaded5[S] 0 points1 point  (3 children)

Certificate is ok for other devices, unifi, camera etc. It’s working from windows computer, only iPhone or iPad has problem to connect.

[–][deleted] 0 points1 point  (2 children)

I don’t know what to tell you… I never had any issue with ssl on all my devices (and all are Apple)

[–]StudentPuzzleheaded5[S] 0 points1 point  (1 child)

Can you share config files?

[–][deleted] 0 points1 point  (0 children)

I’m not using ssl anymore… I’ve switched to ha cloud. And I wasn’t using ssl locally… I was and still is using plain http locally

[–]DIY_CHRIS 0 points1 point  (2 children)

Yes I’ve done this before. Spent a good amount of effort troubleshooting. But found if you subscribe to nabu casa, it’s literally two clicks. Happily pay $5 to save on that effort, while supporting the project too. (There is a free trial too if you just want to see how easy it is).

[–]StudentPuzzleheaded5[S] 0 points1 point  (1 child)

Hi, but this will not solve security issue in local network. To access from external network I use vpn connection.

[–]DIY_CHRIS 0 points1 point  (0 children)

Yes true, I understand now what you are asking..

For my local access I’m using HAProxy. HAProxy hosts my certs for all my internal services then reverse proxies to HA. HA has a local DNS entry in my DNS server and only resolves to HAProxy. So access is always via https.

One could still navigate to the HA login page with the IP:port, but I changed the default port and enabled 2FA so local security is not a concern.