Hi,
I'm facing this strange issue here. Whereby, when I run tunnel login, it detects the existing cert.pem:
$ docker-compose run d tunnel login
You have an existing certificate at /home/nonroot/.cloudflared/cert.pem which login would overwrite.
If this is intentional, please move or delete that file then run this command again.
However, when I run tunnel create, it cannot find the certificate path:
$ docker-compose run d tunnel create my-tunnel
2021-11-09T13:15:52Z INF Cannot determine default origin certificate path. No file cert.pem in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared] originCertPath=
2021-11-09T13:15:52Z ERR You need to specify the origin certificate path with --origincert option, or set TUNNEL_ORIGIN_CERT environment variable. See https://developers.cloudflare.com/argo-tunnel/reference/arguments/ for more information. originCertPath=
failed to create tunnel: couldn't create client to talk to Cloudflare Tunnel backend: Error locating origin cert: client didn't specify origincert path when running from terminal
Any suggestions for a fix?
Thanks,
Hi,
I'm facing this strange issue here. Whereby, when I run
tunnel login, it detects the existingcert.pem:However, when I run
tunnel create, it cannot find the certificate path:Any suggestions for a fix?
Thanks,