12.3. Configuration Options

12.3.1. Automated Configuration

These steps show how to automatically configure your client system to register to Red Hat Satellite.
  1. Take note of the Red Hat Satellite hostname or the fully qualified domain name (fqdn).
  2. Open a terminal console and login as root on the command line.
  3. Download and install a copy of the CA Certificate for Red Hat Satellite:
    yum -y --nogpgcheck install http://[hostname]/pub/katello-ca-consumer-latest.noarch.rpm
    

    Important

    yum in Red Hat Enterprise Linux 5 does not support installation via HTTP. If registering a Red Hat Enterprise Linux 5 client, download the RPM package first and then run yum on the package. For example:
    # wget http://[hostname]/pub/katello-ca-consumer-latest.noarch.rpm
    # yum -y --nogpgcheck install katello-ca-consumer-latest.noarch.rpm
    

    Note

    katello-ca-consumer-[hostname]-1.0-1.noarch.rpm is an additional katello-ca-consumer rpm available that contains the server's hostname. The katello-ca-consumer-latest.noarch.rpm rpm will always reflect the most updated version. Both serve the same purpose.

12.3.2. Manual Configuration

These steps show how to manually configure your client system to register to Red Hat Satellite.
  1. Make the following changes in /etc/rhsm/rhsm.conf:
    [server]
    hostname =[satellite_fqdn]
    
    
    [rhsm]
    baseurl=https://[fqdn_pulp]/pulp/repos/
    repo_ca_cert = %(ca_cert_dir)scandlepin-local.pem
    ca_cert_dir = /etc/rhsm/ca/
    
  2. Change directories to the ca directory, remote copy and move the candlepin-ca.crt certificate:
    # cd /etc/rhsm/ca
    scp  [satellite.fqdn]:/etc/candlepin/certs/candlepin-ca.crt .
    mv candlepin-ca.crt candlepin-local.pem