Skip to content

🐛Cloudflared Windows Tunnel Setup Failing Due to Missing cert.pem and Inconsistent Service Installation How to Fully Clean Up and Reinstall #1566

@thiagopereira-del

Description

@thiagopereira-del

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. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: NormalMinor issue impacting one or more usersType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions