Last active
October 24, 2022 06:47
-
-
Save johnpmitsch/8dad04c22fd93eacbf44baea950996ad to your computer and use it in GitHub Desktop.
regenerate certs in foreman
This file contains hidden or 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
rm -rfv /etc/foreman-proxy/*ssl* | |
rm -rfv /etc/foreman/old-certs | |
rm -rfv /etc/foreman/*.pem | |
rm -rfv /var/lib/puppet/ssl | |
rm -rfv /root/ssl-build | |
foreman-installer -v --certs-regenerate-ca=true --certs-regenerate=true \ | |
--foreman-foreman-url "https://bread.usersys.redhat.com" \ | |
--foreman-servername sat6.example.com \ | |
--certs-ca-common-name sat6.example.com \ | |
--certs-node-fqdn sat6.example.com \ | |
--foreman-proxy-parent-fqdn sat6.example.com\ | |
--foreman-proxy-register-in-foreman true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment