How to regenerate SSL/TLS certificates on Foreman 1.9/Puppet 2.7.26?


#1

Problem: My SSL certificates such as my ca.pem have expired after 5 years. I knew how to regenerate certs on Puppet but this method does not work at my workplace’s Puppet/Foreman instance.

Expected outcome: Regenerate Puppet/Foreman SSL certificates and get both systems operational again

Foreman and Proxy versions: 1.9.3

Foreman and Proxy plugin versions:

Other relevant data:

# puppet agent --test
notice: Ignoring --listen on onetime run
info: Retrieving plugin
info: Loading facts in /etc/puppet/modules/puppi/lib/facter/windows_common_appdata.rb
info: Loading facts in /etc/puppet/modules/puppi/lib/facter/puppi_projects.rb
info: Loading facts in /etc/puppet/modules/puppi/lib/facter/last_run.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppi_projects.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/windows_common_appdata.rb
info: Loading facts in /var/lib/puppet/lib/facter/last_run.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'puppetmaster.polkaron.org'; cannot compile
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run