Skip to content

Instantly share code, notes, and snippets.

@fberndl
Forked from npwalker/gist:8741257
Created July 21, 2017 05:03
Show Gist options
  • Save fberndl/ecfba75989994e95b45f28252efa69f3 to your computer and use it in GitHub Desktop.
Save fberndl/ecfba75989994e95b45f28252efa69f3 to your computer and use it in GitHub Desktop.
How to regenerate a puppet agent certificate
  1. On the master: puppet cert clean <agent_certname>
  2. 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
  1. On the agent: puppet agent -t
  2. On the master: puppet cert sign <agent_certname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment