cloudflare / cloudflared

Cloudflare Tunnel client (formerly Argo Tunnel)
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide
Apache License 2.0
8.83k stars 778 forks source link

🐛 Creating a quick tunnel produces an error with certificate #1048

Open kristenzirkler opened 1 year ago

kristenzirkler commented 1 year ago

Describe the bug Creating a quick tunnel produces an error with certificate : failed to request quick Tunnel: Post "https://api.trycloudflare.com/tunnel": x509: “*.safezone.mcafee.com” certificate name does not match input

To Reproduce Steps to reproduce the behavior:

  1. installed cloudflared
  2. updated certificate to "Always trust"
  3. try cloudflared tunnel --url http://localhost:8080
  4. See error

If it's an issue with Cloudflare Tunnel: It's with quick tunnels

Expected behavior a tunnel is created as per this document https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/

Environment and versions

Logs and errors kristenzirkler@Kristens-iMac ~ % cloudflared tunnel --url http://localhost:8080
2023-08-16T17:15:39Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps 2023-08-16T17:15:39Z INF Requesting new quick Tunnel on trycloudflare.com... failed to request quick Tunnel: Post "https://api.trycloudflare.com/tunnel": x509: “*.safezone.mcafee.com” certificate name does not match input

Additional context I've tried allowing it in Key Chain and safari and the error remains.

kristenzirkler commented 1 year ago

For future reference - The issue was with my modem's Cyber security settings. I use Century Link Fiber and it was mistakenly thinking that cloudflare url was not trusted.

masterBrog commented 5 months ago

Thank you @kristenzirkler was hitting my head on a brick wall over this. For anyone using talktalk isp in UK, they blocked cloudflare certs for me, preventing zero trust tunnels. disabled advanced security in eero router and it's working.