Puppet certificate issue

88 Views Asked by At

I have a fresh install of a puppet server and 2 agents, all of them are on ubuntu 22.04.

  • puppet server version: 8.2.1
  • puppet agents version: 8.4.0

I got this error after certificate signing on the agents:

root@ubuntu01:~# puppet agent -t
Info: Refreshing CA certificate
Error: certificate verify failed [unable to get issuer certificate for CN=Puppet CA: 
puppetserver01]
Error: certificate verify failed [unable to get issuer certificate for CN=Puppet CA: 
puppetserver01]

I checked those items:

  • Puppet Server Status
  • The Certificate on the Puppet Server
  • The Clock Synchronization
  • The DNS Resolution

I tried also the delete certificate and create another again as suggested here but with no success.

1

There are 1 best solutions below

1
Med On

I fixed this issue by creating a new certificate on the master then doing the same on all his clients. I used this documentation to do it: ssl_regenerate_certificates