Issue with Tunnel and “No TLS Verify” in Latest cloudflared Version (2024.6)

I have a Cloudflare tunnel with a public hostname pointing to an internal resource with a self-signed certificate. The origin configuration has “No TLS Verify” enabled.

It does not work with the latest cloudflared (2024.6 windows_amd64). However, it works with the previous version (2023.8.2 windows_amd64) as expected.

Logs with 2024.6 show this error, which should be ignored due to the “No TLS Verify” setting but is not:

“connIndex”: 2,
“originService”: “https://localhost:4105”,
“ingressRule”: 1,
“error”: “Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: remote error: tls: handshake failure”

I would recommend filing a bug report at the cloudflared repo: Sign in to GitHub · GitHub