Puppet Enterprise 2016.4

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

  1. Retrieve the custom certificate’s public and private keys, and, for ease of use, name them as follows:

    • public-console.cert.pem
    • public-console.private_key.pem

Note: These keys and certs must be in PEM format. You will need to convert them to PEM format before proceeding.

  1. 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.)
  2. Use the console to edit the parameters of the puppet_enterprise::profile::console class.

    1. Click Nodes > Classification, and in the PE Infrastructure group, select the PE Console group.

    2. On the Classes tab, in the puppet_enterprise::profile::console class, add these parameters:

      • browser_ssl_cert = /opt/puppetlabs/server/data/console-services/certs/public-console.cert.pem
      • browser_ssl_private_key = /opt/puppetlabs/server/data/console-services/certs/public-console.private_key.pem
    3. Commit changes.

  3. 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.

Back to top