- On the master:
puppet cert clean <agent_certname>
- On the agent:
mv /etc/puppetlabs/puppet/ssl/ /etc/puppetlabs/puppet/ssl_bak
- Never do this if you are trying to regenerate the cert for the agent on the master. Instead you would need to delete specific certs
- On the agent:
puppet agent -t
- On the master:
puppet cert sign <agent_certname>