Cloudflare tunnel and local access

So I followed this guide on setting up a Cloudflare tunnel with my only change being setting it it up for a subdomain. Works very well. Having previously had DuckDNS with SSL, I can now access my HA remotely without any ports open. And being in a location where routers get fried due to lightning a few times a year, it’s useful not having to open ports as I am not there much of the time.

But I digress. My issue is with local access, I still had this in my configuration.yaml from when I used DuckDNS:

http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem

This shouldn’t be needed with Cloudflare tunnel, but as soon as I deleted it I could no longer access HA. Put it back in and HA via subdomain works again but local via Android app does not, as there is no valid security cert. I can override this for local access via https on browser but not in the app, unless I access via subdomain even when on the local network, which is not ideal.

Does anyone know what I have done wrong or how I can get local access working again for the app?

There is another guide I read I didn’t follow for Cloudfare tunnel setup, but it requires port opening, it states the connection between Cloudfare and HA is not secure, is this correct for the guide I followed? I assume not given I didn’t need any ports open…

I’ve got exactly the same issue. Did you ever find a fix?

I did, but can’t remember how. I just read more guides. Sorry, just saw the post. Did you fix it? I am having other cloudflared issues though.