Installation guide

2.1. Regist ering Client s wit h Red Hat Sat ellit e Server
The following procedure describes how to use the rhn_reg i ster command to register a system with
Red Hat Satellite. Ensure you replace the example host names and domain names with those that
apply to your configuration.
Pro ced u re 2.1. T o Use rh n _regist er t o R eg ister a System wit h Red Hat Sat ellit e:
1. Change into the /usr/share/rhn/ directory and download the SSL certificate to the client:
# cd /usr/share/rhn/
# wg et http: //satel l i te. exampl e. co m/pub/R HN-O R G -T R UST ED -SSL-C ER T
2. Edit the /etc/sysco nfi g /rhn/up2d ate file and ensure that it contains the following
entries:
serverURL=https://satellite.example.com/XMLRPC
noSSLServerURL=http://satellite.example.com/XMLRPC
sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
3. Use the rhn_reg i ster command to register the machine:
# rhn_reg i ster
2.2. Using Act ivat ion Keys t o Regist er Client s wit h Red Hat Sat ellit e
Red Hat recommends using activation keys for registering and configuring client systems that access
Red Hat Proxy or Red Hat Satellite. You can use activation keys to register, entitle, and subscribe
multiple systems in a single operation. See the relevant section in the Red Hat Satellite Getting Started
Guide for more information about activation keys.
Pro ced u re 2.2. T o Use Act ivation Keys t o Regist er a Syst em wit h Red Hat Sat ellit e:
1. Generate an activation key. See "Using Activation Keys" in the Red Hat Satellite Getting
Started Guide.)
2. Import custom GPG keys.
3. Download and install the SSL Certificate RPM from the /pub/ directory of the Red Hat Proxy
or Red Hat Satellite. For example (update the URL to suit your environment):
# rpm -Uvh http: //satel l i te. exampl e. co m/pub/rhn-o rg -trusted -ssl -
cert-1. 0 -1. no arch. rpm
4. Register the system with the Red Hat Proxy or Red Hat Satellite:
# rhnreg _ks --acti vati o nkey mykey --serverUrl
https://satellite.example.com/XMLRPC --
ssl C AC ert= /usr/share/rhn/R HN-O R G -T R UST ED -SSL-C ER T
Red Hat Sat ellit e 5.7 Client Configurat ion G u ide
4