Red Hat Training

A Red Hat training course is available for Red Hat Satellite

2.2. Using Activation Keys to Register Clients with Red Hat Satellite

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.

Procedure 2.2. To Use Activation Keys to Register a System with Red Hat Satellite:

  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://satellite.example.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
  4. Register the system with the Red Hat Proxy or Red Hat Satellite:
    # rhnreg_ks --activationkey mykey --serverUrl https://satellite.example.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
Alternatively, use the bootstrap script (bootstrap.sh) that Satellite generates. The bootstrap script, available for both Red Hat Satellite Server and Red Hat Proxy Server, is such a script. Script generation is discussed more in detail in 4.1.1. Using Red Hat Network Bootstrap to Register a System of the Getting Started Guide.
To obtain the bootstrap script, run the following command:
wget http://satellite.example.com/pub/bootstrap/bootstrap.sh

Important

The bootstrap script requires some manual editing after its generation on the Satellite server. An initial running of an unedited bootstrap script displays a message regarding manual edits required. Follow these instructions and edit the bootstrap script on the Satellite server prior to downloading the script on the client.