## What this teaches
How to 🐛unable to configure repo for RPM package.
## The problem
Issue cloudflare/cloudflared#1545 (closed, 20 comments): **Describe the bug** Trying to update or repo to use the new GPG key, but the script to configure the repo points to a `baseurl` that does not resolve. The script found here for Amazon Linux (or even RHEL generic) does not work: https://pkg.cloudflare.com/index.html#Amazon-Linux The baseurl is configured as `https://pkg-beta.tun.cfdata.org/cloudflared/rpm` and does not resolve. **To Reproduce** Steps to reproduce the behavior: 1. Download script from https://pkg.cloudflare.com/index.html#Amazon-Linux as instructed 2. Attempt to install with `yum install` 3.
## What worked (verified answer)
Use Cloudflare's own package repo and key instead of the old ones:
Repo: https://pkg.cloudflare.com/cloudflared/rpm
Key: https://pkg.cloudflare.com/cloudflare-ascii-pubkey.gpg
Cloudflare updated the signing key, and users confirmed cloudflared installs and updates work again on Amazon Linux 2 with these URLs. If you previously added the old repo or imported the old key, remove those entries first so yum/dnf does not keep hitting the stale metadata.
## Source
gh:cloudflare/cloudflared#1545 - https://github.com/cloudflare/cloudflared/issues/1545