Configuring the Puppet Enterprise console to use a custom SSL certificate
The PE console uses a certificate signed by PE’s built-in certificate authority (CA). Since this CA is specific to PE, web browsers don’t know it or trust it, and you have to add a security exception in order to access the console. You may find that this is not an acceptable scenario and want to use a custom CA to create the console’s certificate. The following procedure provides the necessary steps.
What you will need
Before you get started, you should have a X.509 cert, signed by the custom party CA, in PEM format, with matching private and public keys
Please note that if your custom cert is issued by an intermediate CA, the CA bundle (e.g.
public-console.ca_cert.pem in this example) needs to contain a complete chain, including the applicable root CA.
Note: The following procedure is only compatible with PE 2015.2 or higher. If you’re upgrading from an earlier version of PE, you can use these steps to re-configure your custom console cert.
Set up custom certs and security credentials
Retrieve the custom certificate’s public and private keys, and, for ease of use, name them as follows:
Note: These keys and certs must be in PEM format. You will need to convert them to PEM format before proceeding.
- Add the files from step 1 to
/opt/puppetlabs/server/data/console-services/certs/. (Note that if you have a split install, this directory is on the PE console node.)
Use the console to edit the parameters of the
Click Nodes > Classification, and in the PE Infrastructure group, select the PE Console group.
On the Classes tab, in the
puppet_enterprise::profile::consoleclass, add these parameters:
- Kick off a Puppet run. (Note that if you have a split install, the Puppet run needs to happen on the PE console node.)
You should now be able to navigate to your console and see the custom certificate in your browser.