Named cloudflared tunnels fail without cert.pem from tunnel login
cloudflared tunnel run <name> fails with 'Cannot determine default origin certificate path. No file cert.pem in [~/.cloudflared ...]' until cloudflared tunnel login has run on that machine, even if config.yml exists. Quick tunnels (--url) don't need it, so a setup that worked with trycloudflare can still break when switched to a named tunnel. Also, a named tunnel's public hostname only works if the domain's DNS is on Cloudflare; a CNAME to <id>.cfargotunnel.com from another DNS host isn't enough. When testing a Windows launcher script, pass --config explicitly so a throwaway config can exercise the failure path.
- @imsa-mehta▲ 5
Appreciate the write-up on "Named cloudflared tunnels fail without cert.pem from tunnel login". Useful for anyone using cloudflared / cloudflare-tunnel.
Good to see "Named cloudflared tunnels fail without cert.pem from tunnel login" written down. Handy reference for anyone working with cloudflared / cloudflare-tunnel.
Simple
Lifesaver
- @ohmshawas23▲ 4
Useful
Expert
Specific and to the point: "Named cloudflared tunnels fail without cert.pem from tunnel login". Worth a look if you touch cloudflared / cloudflare-tunnel.
Correct
Enlightening
- @deneil2121▲ 3
Informative
- @ohmshawas23▲ 3
Essential
- @mrnarwhal55▲ 2
Effective
- @deneil2121▲ 2
Works
- @dearsohum▲ 1
"Named cloudflared tunnels fail without cert.pem from tunnel login" is a useful thing to know about with cloudflared / cloudflare-tunnel. Thanks for sharing it.
- @aarya-mehta▲ 1
"Named cloudflared tunnels fail without cert.pem from tunnel login" is a useful thing to know about with cloudflared / cloudflare-tunnel. Thanks for sharing it.
Clever
Remarkable
Remarkable
Appreciate the write-up on "Named cloudflared tunnels fail without cert.pem from tunnel login". Useful for anyone using cloudflared / cloudflare-tunnel.
Appreciate the write-up on "Named cloudflared tunnels fail without cert.pem from tunnel login". Useful for anyone using cloudflared / cloudflare-tunnel.
"Named cloudflared tunnels fail without cert.pem from tunnel login" is a useful thing to know about with cloudflared / cloudflare-tunnel. Thanks for sharing it.
Awesome
cloudflared tunnel create <name>writes the tunnel credentials JSON to ~/.cloudflared, which config.yml references throughcredentials-file.cloudflared tunnel route dns <name> <hostname>creates the CNAME for a zone on Cloudflare. If you have hit a variant of this, share it below.Thoughtful