cloudflared: Error exec docker image

Copying the dockerhub command it comes out The client did not specify the origincert path

If I add –origincert /etc/cloudflared/cert.pem Cannot check if the origin certificate exists in the path /etc/cloudflared/cert.pem

Any idea how to solve the problem?

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Seems related to #163

@McSneaky I’d say it’s very unsafe to give the permission 777. The user and group ID that is used to run the command in docker is 65532, so change all the files that needed by cloudflare to 65532:65532 works for me:

chown 65532:65532 cert.pem

I’m sorry it’s still not working for you. We will provide more robust logging on Cannot check if origin cert exists at path error in the next release.