Puppet Server
Configure Puppet Server in three steps:
Disable the internal CA service.
Ensure that the certname does not change.
Put certificates and keys in place on disk.
- Edit the Puppet Server
/etc/puppetlabs/puppetserver/services.d/ca.cfgfile:- To disable the internal CA, comment out
puppetlabs.services.ca.certificate-authority-service/certificate-authority-serviceand uncommentpuppetlabs.services.ca.certificate-authority-disabled-service/certificate-authority-disabled-service.
- To disable the internal CA, comment out
- Set a static value for the
certnamesetting inpuppet.conf:[server] certname = puppetserver.example.com
Setting a static value prevents any confusion if the machine's hostname changes. The value must match the certname you’ll use to issue the server's certificate, and it must not be blank. - Put the credentials from your external CA on disk in
the correct locations. These locations must match what’s configured in
your
webserver.conffile.If you haven’t changed those settings, run the following commands to find the default locations.
Credential File location Server SSL certificate puppet config print hostcert --section serverServer SSL certificate private key puppet config print hostprivkey --section serverRoot CA certificate puppet config print localcacert --section serverRoot certificate revocation list puppet config print hostcrl --section serverIf you’ve put the credentials in the correct locations, you don't need to change any additional settings.