You will need to first do the following:
[root@rhnsat ~]# rhn-bootstrap --activation-keys 1-GetYourOwnKey --gpg-key /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT --allow-config-actions --allow-remote-commands
* bootstrap overrides (written):
'/var/www/html/pub/bootstrap/client-config-overrides.txt'
Values written:
enableProxy '0'
serverURL 'https://rhnsat.host.com/XMLRPC'
proxyPassword ''
proxyUser ''
sslCACert '/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
httpProxy ''
noSSLServerURL 'http://rhnsat.host.com/XMLRPC'
enableProxyAuth '0'
useGPG 1
* bootstrap script (written):
'/var/www/html/pub/bootstrap/bootstrap.sh'
on the client
wget http://rhnsat.host.com/pub/bootstrap/bootstrap.sh
/bin/bash ./bootstrap.sh
yum list
UPDATE:
If you need to re-register your system (in my case I rebuilt my RHN Satellite system, with the same hostname, etc... because this is, in fact, my lab...)
You need to remove the SSL cert previously installed.
[root@neo ~]# rpm -qa | grep rhn
rhn-setup-gnome-1.0.0-73.el6.noarch
rhnsd-4.9.3-2.el6.x86_64
yum-rhn-plugin-0.9.1-36.el6.noarch
rhnlib-2.5.22-12.el6.noarch
rhn-org-trusted-ssl-cert-1.0-1.noarch
rhn-client-tools-1.0.0-73.el6.noarch
rhn-setup-1.0.0-73.el6.noarch
rhn-check-1.0.0-73.el6.noarch
[root@neo ~]# rpm -e rhn-org-trusted-ssl-cert-1.0-1.noarch
[root@neo ~]# wget 10.10.31.100/pub/bootstrap/bootstrap.sh
[root@neo ~]# /bin/bash ./bootstrap.sh
- Create Activation Keys
- (https://rhnsat.host.com/rhn/activationkeys/List.do)
[root@rhnsat ~]# rhn-bootstrap --activation-keys 1-GetYourOwnKey --gpg-key /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT --allow-config-actions --allow-remote-commands
* bootstrap overrides (written):
'/var/www/html/pub/bootstrap/client-config-overrides.txt'
Values written:
enableProxy '0'
serverURL 'https://rhnsat.host.com/XMLRPC'
proxyPassword ''
proxyUser ''
sslCACert '/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
httpProxy ''
noSSLServerURL 'http://rhnsat.host.com/XMLRPC'
enableProxyAuth '0'
useGPG 1
* bootstrap script (written):
'/var/www/html/pub/bootstrap/bootstrap.sh'
on the client
wget http://rhnsat.host.com/pub/bootstrap/bootstrap.sh
/bin/bash ./bootstrap.sh
yum list
UPDATE:
If you need to re-register your system (in my case I rebuilt my RHN Satellite system, with the same hostname, etc... because this is, in fact, my lab...)
You need to remove the SSL cert previously installed.
[root@neo ~]# rpm -qa | grep rhn
rhn-setup-gnome-1.0.0-73.el6.noarch
rhnsd-4.9.3-2.el6.x86_64
yum-rhn-plugin-0.9.1-36.el6.noarch
rhnlib-2.5.22-12.el6.noarch
rhn-org-trusted-ssl-cert-1.0-1.noarch
rhn-client-tools-1.0.0-73.el6.noarch
rhn-setup-1.0.0-73.el6.noarch
rhn-check-1.0.0-73.el6.noarch
[root@neo ~]# rpm -e rhn-org-trusted-ssl-cert-1.0-1.noarch
[root@neo ~]# wget 10.10.31.100/pub/bootstrap/bootstrap.sh
[root@neo ~]# /bin/bash ./bootstrap.sh
Comments
Post a Comment