cloudflare / cloudflare/cloudflared
🐛Cloudflared Windows Tunnel Setup Failing Due to Missing cert.pem and Inconsistent Service Installation How to Fully Clean Up and Reinstall
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to set up a dedicated Cloudflare Tunnel for a specific customer on Windows, but I'm running into several issues when installing and managing the cloudflared service. When I run cloudflared.exe service install , the log shows INF cloudflared agent service is installed windowsServiceName=Cloudflared followed by Cannot install event logger: SYSTEM\CurrentControlSet\Services\EventLog\Application\Cloudflared registry key already exists. After that, if I run sc query Cloudflared, Windows returns error 1060 saying the service does not exist. In addition, when I try cloudflared tunnel list, I get Cannot determine default origin certificate path. No file cert.pem in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp](pplx://action/translate). You need to specify the origin certificate path by specifying the origincert option in the configuration file, or set TUNNEL_ORIGIN_CERT environment variable and Error locating origin cert: client didn't specify origincert path. Because of this, I can’t obtain or use the origin certificate (cert.pem) for this customer’s tunnel
Contributor guide
Assessment
This issue has not been assessed yet.