Last active
May 31, 2022 19:41
-
-
Save mccun934/5eff0831f80bda1790d146430a19a59d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Works with Satellite 6.5 and later | |
# https://access.redhat.com/solutions/2273561 | |
rm -f /etc/candlepin/certs/keystore | |
rm -f /etc/candlepin/certs/truststore | |
rm -f /etc/tomcat/truststore | |
rm -f /etc/candlepin/certs/amqp/* | |
rm -rf /etc/pki/katello/nssdb/* | |
rm -f /etc/pki/katello/truststore | |
mv /root/ssl-build/ /root/orig-ssl-build-`date "+%Y%m%d-%H%M"` | |
mkdir /root/ssl-build | |
satellite-installer --certs-reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment