Last active
August 29, 2015 14:26
-
-
Save iankronquist/15d5fed545ca4d2210f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@debian-8-jessie-puppet:~$ puppet agent -t --server=192.168.33.10 | |
Info: Creating a new SSL key for debian-8-jessie-puppet.vagrantup.com | |
Info: Caching certificate for debian-8-jessie-puppet.vagrantup.com | |
Error: Could not request certificate: The certificate retrieved from the master does not match the agent's private key. | |
Certificate fingerprint: 44:4D:D3:60:37:E1:1C:3A:91:0F:CB:DD:9B:3B:F8:3A:38:00:A4:3B:56:88:13:D4:E0:F5:77:E7:5F:FF:0D:CD | |
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 debian-8-jessie-puppet.vagrantup.com | |
On the agent: | |
1a. On most platforms: find /home/vagrant/.puppet/ssl -name debian-8-jessie-puppet.vagrantup.com.pem -delete | |
1b. On Windows: del "/home/vagrant/.puppet/ssl/debian-8-jessie-puppet.vagrantup.com.pem" /f | |
2. puppet agent -t | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@debian-8-jessie-puppet-master-master:~$ puppet cert clean debian-8-jessie-puppet.vagrantup.com | |
Error: Could not find a serial number for debian-8-jessie-puppet.vagrantup.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment