Skip to content

Instantly share code, notes, and snippets.

@Tahvok
Created December 17, 2014 16:56
Show Gist options
  • Select an option

  • Save Tahvok/c3cf55e7bec3d205167a to your computer and use it in GitHub Desktop.

Select an option

Save Tahvok/c3cf55e7bec3d205167a to your computer and use it in GitHub Desktop.
puppet certificate from master does not match
Error: Could not request certificate: The certificate retrieved from the master does not match the agent's private key.
Certificate fingerprint: {fingerprint}
To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate.
On the master:
puppet cert clean domain.com
On the agent:
1a. On most platforms: find /var/lib/puppet/ssl -name domain.pem -delete
1b. On Windows: del "/var/lib/puppet/ssl/domain.pem" /f
2. puppet agent -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment