How to sign/add a public key in RHEL.?

76 Views Asked by At

I am trying to add a public key from Fusion Forge for RHEL. In Ubuntu, we use wget -O - http://fusionforge.fusionforge.org/deb/B998DC6C.asc | apt-key add to add a key. What is the command in RHEL for the same action?

1

There are 1 best solutions below

2
On BEST ANSWER

To download and import the key in one step like you are doing above:

rpm --import http://fusionforge.fusionforge.org/deb/B998DC6C.asc

Check the documentation here for more info: https://access.redhat.com/documentation/en-US/Red_Hat_Network/5.0.0/html/Client_Configuration_Guide/ch-gpg-keys.html