Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
regenerate certs in foreman
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