Introduction
Puppet is a devop tool that aids in centralising and automating the configuration management process. Software deployment is another use for it. It is offered in both open-source and paid editions. It assists with managing the configuration of servers, deploying servers, and orchestrating the deployment of multiple applications across a large amount of infrastructure in the business.
This blog explains the details of Advanced Concepts of SSL and Certificates in Puppet, along with the details of using a custom SSL certificate, generating a custom Diffie-Hellman parameter file, and Enabling TLSv1.
Without further ado, let's get started.

How to use a custom SSL certificate for the console?
The certificate used by the Puppet Enterprise (PE) console was signed by the certificate authority integrated into PE (CA). Web browsers do not recognise or trust this CA because it is special to PE, so you must add a security exception to access the console. If you decide that this situation is unacceptable, you can create the console's certificate using a custom CA.
Follow the steps to Use a custom SSL certificate for the console:
-
Obtain the private key and customised certificate.
-
Replace any console-cert.pem files that already exist by moving the certificate to /etc/puppetlabs/puppet/ssl/certs/console-cert.pem.
-
Replace any console-cert.pem files that already exist by moving the private key to /etc/puppetlabs/puppet/ssl/private keys/console-cert.pem.
-
Remove the browser_ssl_cert and browser_ssl_private_key arguments from the console or Hiera data if you had previously specified a custom SSL certificate.
-
Expand the PE Infrastructure group on the Node groups tab of the PE console, then choose the PE Console node group. Remove any browser_ssl_cert and browser_ssl_private_key arguments from the puppet enterprise::profile::console class, then find the class on the Classes tab and commit modifications.
-
Remove the parameters from the Configuration data tab if you previously stated them there, then save your modifications.
-
Remove these parameters from your Hiera data if you defined them using Hiera. Consult Configure settings with Hiera for further details.
-
Run the Puppet: puppet agent -t
You can access your console from your browser and view the custom certificate there.
Let's look into the details of generating a custom Diffie-Hellman parameter file.






