How to add GPG key to clone channel or repository created using pulp-admin on RHUI ?

Solution Verified - Updated -

Issue

  • How do we add a GPG key to cloned repositories/channels on RHUI 2.1?
  • We created multiple clones of the Red-Hat-provided channels to allow controlled patching. However, the generated yum repository file has GPG checks disabled:
[custom-rhel6]
name=Custom RHEL6 Repository
mirrorlist=https://hostname.example.com/mirror/rhel6
enabled=1
gpgcheck=0
sslverify=1
sslcacert=/etc/pki/entitlement/ca.crt
sslclientcert=/etc/pki/entitlement/product/content.crt
sslclientkey=/etc/pki/entitlement/key.pem

Environment

  • Red Hat Update Infrastructure (RHUI) 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.