This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 252
ChangeCaCert
Grant Gainey edited this page Dec 12, 2016
·
2 revisions
Please note! following these steps will render all clients unable to connect until you redeploy the new ca cert ( RHN-ORG-TRUSTED-SSL-CERT) to EVERY client currently connection to the spacewalk/satellite server.
Recreate CA cert:
- mv /root/ssl-build /root/ssl-build.bak
- cd /root
- rhn-ssl-tool --gen-ca
- rhn-ssl-tool --gen-server
- cp ./ssl-build/RHN-ORG-TRUSTED-SSL-CERT ./ssl-build/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm /var/www/html/pub
- rpm -e rhn-org-httpd-ssl-key-pair-HOSTNAME
- rpm -ivh ./ssl-build/HOSTNAME/rhn-org-httpd-ssl-key-pair-HOSTNAME-1.0-1.noarch.rpm
- rhn-ssl-dbstore -vvv --ca-cert /root/ssl-build/RHN-ORG-TRUSTED-SSL-CERT
- spacewalk-service restart
- Redeploy RHN-ORG-TRUSTED-SSL-CERT to clients (if needed)
Do you want to contribute to this wiki? See page WikiContribute for more info.