Get tunnel credentials file

I created a remote tunnel from the zero trust dashboard, installed the service using the command given on the dashboard and authenticated cloudflared with cloudflared tunnel login . I see there is a cert.pem file at ~/.cloudflared but everytime I run cloudflared tunnel --origincert /home/pi/.cloudflared/cert.pem run <tunnel-id>, I get the error tunnel credentials not found. How do I get the credentials file if I created the tunnel from the Zero trust dashboard and not through the cli?

If you created a remote managed tunnel through the dashboard, then you should have run cloudflared service install <> and that handles the credentials and keeps the tunnel running.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.