How to Ensure Red Hat GPG Key is Installed.

To ensure that the system can cryptographically verify update packages (and also connect to the Red Hat Network to receive them if desired), run the following command to ensure that the system has the Red Hat GPG key properly installed:

Example below shows on a Centos Server.

[centos@mail ~]$ rpm -q –queryformat “%{SUMMARY}\n” gpg-pubkey
gpg(CentOS-6 Key (CentOS 6 Official Signing Key) )
gpg(Dag Wieers (Dag Apt Repository v1.0) )
[centos@mail ~]$

The command should return the string: gpg(Red Hat, Inc. (release key ) for redhat systems.

Comments are closed.