How to resign or sign RPM packages with a GPG key

Solution Verified - Updated -

Issue

  • When trying to install rhui entitlement rpm on RHEL 5 system it fails with following error
error: package-name-version-arch.rpm: Header V4 RSA/SHA1 signature: BAD, keyid xxxxxxx
error: package-name-version-arch.rpm can not be installed
  • How to sign configuration RPM packages, generated to setup RHUI ?

  • How to GPG-sign RHUI Configuration RPM packages ?

  • How to GPG-sign RPM packages ?

  • How to resign or sign RPM packages with a GPG key

Environment

  • Red Hat Update Infrastructure (RHUI)
  • Red Hat Enterprise Linux (RHEL) 5,6,7
  • Red Hat Satellite 5

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