If you don’t know what PuppetDB is, this post probably will not be any useful to you. But if you wanna find out or learn about it, here is the link: http://docs.puppetlabs.com/puppetdb/latest/index.html.
For PuppetDB to work, we need to generate SSL certificates from a Puppet master’s SSL certificate. In my case, I need to re-configure this PuppetDB to a new Puppet mater which sits on the same server. Here’s how it was done:
- Stop PuppetDB
- Generate SSL certificates:
- Restart PuppetDB service:
As mentioned, the PuppetDB and Puppet master happen to be on the same server. If your Puppet master is on a different server, you’ll need to manually copy the SSL certificate of that mater to generate ones for PuppetDB. You can check this well-documented how to at: Manually Generating and Preparing Certificates.