Client connected to a Red Hat Satellite Capsule 6.4 server is not able to retrieve the GPG key for a custom repository.

Solution Verified - Updated -

Issue

  • When trying to install a package from a custom repository, yum is unable to verify the RPM package
  • The yum command fails with:

    warning: /var/cache/yum/x86_64/7Server/custom_repo/packages/somepkg-1.0.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID abcd1234: NOKEY
    Retrieving key from https://capsule.example.com/katello/api/v2/repositories/152/gpg_key_content
    
    GPG key retrieval failed: [Errno 14] HTTPS Error 404 - Not Found
    

Environment

  • Red Hat Satellite Capsule server 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content