Delete and recreate the certificate authority
Recreate the certificate authority only if you're upgrading to the new certificate architecture introduced in Puppet 6.0, or if your certificate authority was compromised or damaged beyond repair.
The puppet infrastructure run
command
leverages built-in Bolt plans to automate certain
management tasks. To use this command, you must be able to connect using SSH from
your primary server to any nodes that the command modifies. You can establish an SSH
connection using key forwarding, a local key file, or by specifying keys in
.ssh/config
on your primary server. For more information, see
Bolt OpenSSH configuration options.
On your primary server, log in as root and run:
puppet infrastructure run rebuild_certificate_authority
The SSL and cert directories on your CA server are backed up with "_bak" appended to the end, CA files are removed and certificates are rebuilt, and a Puppet run completes.