Chapter 5. Provisioning with Satellite58wget http://satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERTperl -npe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' -i /etc/sysconfig/rhn/*rhnreg_ks --serverUrl=https://satellite.example.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT--activationkey=1-c8d01e2f23c6bbaedd0f6507e9ac079d# end Red Hat management server registrationBreaking this down into the 4 steps you have:1) mkdir -p /usr/share/rhn/Creating a directory to house the custom SSL cert used by the RHN Satellite2) wget http://satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERTFetch the SSL certificate to use during registration3) perl -npe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' -i /etc/sysconfig/rhn/*Search/replace the SSL certificate strings from the rhn-register configuration files.4) rhnreg_ks --serverUrl=https://satellite.example.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-c8d01e2f23c6bbaedd0f6507e9ac079dRegister to the RHN Satellite with the SSL certificate and an activation key. Every Kickstart Profileincludes an Activation Key that assures that the system is assigned the correct base and childchannels, gets the proper System Entitlements, and is associated with the previous System Profile ifyou are re-provisioning an existing system.If the rhnreg_ks command fails you may see errors in the ks-post.log indicating:ERROR: unable to read system id.And calls to rhn_check return the error above you know the system failed to register to the RHNSatellite.The best way to troubleshoot this is to view the kickstart file and copy-paste the four steps fromabove into the shell prompt and run them after the system comes back from kickstarting. Generallyrhnreg_ks will produce usable error messages which should help you figure out what is failing duringregistration.5.10.7. Directory structure for Kickstarts and Snippets• Kickstarts — The base path where the kickstart files are stored is /var/lib/rhn/kickstarts/.Within this directory, raw (non-wizard generated) kickstarts reside in the subdirectory upload whilewizard generated ones are in the wizard subdirectory, thus: