Companion app home assistant companion app failed to perform ssl handshake but works from browser

This problem just started today.
Companion app refuses to connect with a "failed to perform ssl handshake"
The SSL certificate is valid and I can connect via chrome on my mobile as well as from desktop.
Also browser confirms certificate is valid.
Searching the problem gave no useful solutions.
I have uninstalled the companion app, deleted app adata and cache, rebooted mobile and reinstalled - still does not work
Rebooted HA system - still does not work

Some more info. This is the error in the HA logs. which has left me even more confused.
The login credentials are correct and the error on the app does not match the error in HA.

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:138
Integration: HTTP (documentation, issues)
First occurred: 18:08:34 (1 occurrence)
Last logged: 18:08:34

Login attempt or request with invalid authentication from 192.168.12.66 (192.168.12.66). Requested URL: '/auth/login_flow/46b71266b2eaf8bbc8d73f8de211d2b5'. (Mozilla/5.0 (Linux; Android 16; Pixel 6 Build/CP1A.260405.005; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/148.0.7778.217 Mobile Safari/537.36 Home Assistant/2026.6.1-22536 (Android 16; Pixel 6))

Just updated to core 2026.6.3
Uninstalled app, deleted app data & cache, restarted mobile and reinstall Companion app.
Problem still persists but now there is no login error message from HA
The certificate for HA is from LetsEncrypt, I'm running Android 16 on my mobile and the root certificate is installed and valid

Same situation here, happened with 2 different mobile phones: they were working fine before the latest update, and then this SSL handshake issue came out and they cannot login within the app any more. Using a browser on the mobile works flawlessly, and I tried the same things: upgrading to the latest HA core (2026.6.3), reinstalling the app, rebooting everything, and even forcing a certificate renewal (from LetsEncrypt too).
Please somebody suggest what to do, or let me know what I can look for in the logs.
Thank you

Using LetsEncrypt certificate and getting and error when the Android app connects about SSL handshake failure. Connecting with a browser on the same phone works and the certificate is listed as valid. Trying from other devices works, and checking the cert the browsers say it is valid. Seems like an app problem, not a cert problem.

Have the same issue, works away from home but not locally. The cert is valid on the Web browser and on the server.

Exact same issue here. An older app version on another phone seems to have no issues. I believe the issue originates in the companion app.

Saw this update 2026.6.5 release notes

I'm not at home so I cannot test it, but Use default Trust manager and fallback to user installed CA #7044 might be the fix needed.