32 Chapter 2. Red Hat Update Agent2.3.1. Installing the Red Hat GPG keyThe first time you run the graphical version of the Red Hat Update Agent, it promptsyou to install the Red Hat GPG key. This key is required to authenticate the packagesdownloaded from Red Hat Network. If you run the command line version the first timeyou start Red Hat Update Agent, you must install the Red Hat GPG key manually. If youdo not have it installed, you will see the following message:Your GPG keyring does not contain the Red Hat, Inc. public key.Without it, you will be unable to verify that packages Update Agent downloadsare securely signed by Red Hat.NoteGPG keys must be installed for each user. To install the key to use with Red Hat Network,import the key while logged in as root.The method for installing the key varies depending on your version of RPM. Starting withversion 4.1, which shipped with Red Hat Enterprise Linux 3, you may use RPM to importGPG keys. Issue the following command at a shell prompt as root:rpm --import /usr/share/doc/rpm-4.1/RPM-GPG-KEYFor older versions of RPM, such as the one that came with Red Hat Enterprise Linux 2.1,use the gpg command (as root):/usr/bin/gpg --import /usr/share/rhn/RPM-GPG-KEYTo download the Red Hat GPG key first, you may obtain it fromhttps://www.redhat.com/security/team/key.html . Here’s an example:Type bits/keyID Date User IDpub 1024D/650D5882 2001-11-21 Red Hat, Inc. (Security Response Team)sub 2048g/7EAB9AFD 2001-11-21-----BEGIN PGP PUBLIC KEY BLOCK-----Version: GnuPG v1.2.1 (GNU/Linux)mQGiBDv70vQRBADh701rf8WUzDG88kqlV/N5KQ1PF0amnODB/1EeuAD7n6bCBRmVekQWJCdfab0Rf1S+VsFg6IAAAmDIarVnacTLQzqCdGJqTpXm/rGVpLv+mCh+OmT9QRFbjSzB0uPJOpiIvJwSS00D/wJ8XKzHkVNgW3DiJ9Qz2BHYszU2ISI6FwCgxY6dIVjWT5jblkLNjtD3+fR024ED/i0e2knetTX3S9LjC+HdGvP8Eds92Ti2CnJLaFJkRp749PucnK9mzxPcO2jSHgdtjWAXst/st+gWFVbFmkjBQDVSd00B/xEwI1T1+LN8V7R8BElBmg99IlJmDvA2BI/seXvafhzly9bxSHScFnceco/Az9umIs3NXwv3/yOmZakDBAC6SAGHBmpVkOdeXJDdb4LcbEhErFU3CpRCjZ6AOnFuiV1MGdulZXvEUgBAI6/PDE5nBHfZY3zPjyLPZVtgYioJpZqcRIx/g+bX2O8kPqvJEuZ19tLCdykfZGpy