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.
- Take note of the Red Hat Satellite hostname or the fully qualified domain name (fqdn).
- Open a terminal console and login as root on the command line.
- 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 runyum
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.
- 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/
- Change directories to the
ca
directory, remote copy and move thecandlepin-ca.crt
certificate:# cd /etc/rhsm/ca scp [satellite.fqdn]:/etc/candlepin/certs/candlepin-ca.crt . mv candlepin-ca.crt candlepin-local.pem