cloudflare / cloudflare/cloudflared

🐛 ERR Cannot determine default origin certificate path

Open
#1,037 9 comments 5 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When starting a `cloudflared tunnel run $TUNNEL_ID` command, I'm getting an error in the logs

```
ERR Cannot determine default origin certificate path. No file cert.pem in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]. You need to specify the origin certificate path by specifying the origincert option in the configuration file, or set TUNNEL_ORIGIN_CERT environment variable originCertPath=
```

**To Reproduce**
Steps to reproduce the behavior:
1. Just run a `cloudflared tunnel run` command, with a valid `$tunnel_id.json` credentials file

**Expected behavior**
No error log should be printed, about missing cert.pem file's, when it obviously isn't needed by the `cloudflared tunnel run` command.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.