1.6 Spacewalk Client Registration

It is not necessary to install the Spacewalk client before registering an Oracle Linux 7 Update 3 system with a Spacewalk server. Instead, you can use the rhnreg_ks command, specifying the CA certificate file for the server, the server URL, and the activation key to be associated with the system.

To register a system as a client of a Spacewalk server:

  1. Download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to the system.

    In a browser tab, navigate to http://swksvr_FQDN/pub, where swksvr_FQDN is the fully qualified domain name of the Spacewalk server, and download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to /usr/share/rhn/.

    Alternatively, you can use wget from the command line, for example:

    # wget -q -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
  2. Register the system with Spacewalk using the rhnreg_ks command, using the --sslCACert option to specify the certificate.

    # rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
      --serverUrl=https://swksvr_FQDN/XMLRPC --activationkey=activation_key

    Specify the Spacewalk server or proxy by its fully qualified domain name.

    If you need to re-register a Spacewalk client with a Spacewalk server, additionally specify the --force option.

Oracle recommends installing the Spacewalk client software after registration to support all of the features provided by Spacewalk, which include provisioning and auditing.

To install the Spacewalk client software after registration, subscribe the server to a Spacewalk Client 2.2 software channel and use yum to install the packages:

# yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin