Skip to content

You are disconnected error while local connect if https with remote certificate is used in HA #4019

@benchdoos

Description

@benchdoos

iOS device model, version and app version

Model Name: iPhone 14 Pro
Software Version: 18.6.2
App version: 2025.11.1 (2025.1534)

Home Assistant Core Version

2025.11.3 (homeassistant/home-assistant:2025.11.3)

Describe the bug
When HA is up with valid certificate for remote address, it boots up with https protocol only. If you connect it locally, browsers usually warns that cert for remote address is used, but not for local address (192.168.*.*).
So if the ios app is configured to use both addresses (1 for local connections, another for remote), it will not connect through the local address - seems that it caused by the problem described upwords.
So the only way to connect is to use remote address ONLY (or disable https).

To Reproduce

  1. Configure HA to use cert with chain:
  • remote address cert
  • CA
  1. Set up 2 addresses in ios app:
  • local
  • remote
  1. Try to connect.

Expected behavior
One of two ways are expected:

  1. HA boots up with 2 kind of connections on 2 ports: http, https. IOS app does not check chain for http. (preffered)
  2. IOS app has an opportunity to disable cert chain check for local connection.

Screenshots

Image

Additional context

Sorry if it is an duplicate issue, I tried my best to find any solution, but failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions