Linux: Puppet syncing and certificate issues
If puppet cannot be updated due to a certificate issue. Look in the subfolders of/etc/puppetlabs/puppet/ssl to determine if their are pem files with other server names verses the actual name of the server.
If there are delete them with the following:find /etc/puppetlabs/puppet/ssl -name offendingservername.domainname.com.pem -delete
To completely start over with new keys do the following:find /etc/puppetlabs/puppet/ssl -name actualservername.domainname.com.pem -delete
Then goto the satellie server and delete the offending certificate.puppet cert clean actualservername.domainname.com
Go back to the server and run:puppet agent -tv
Goback to the Satellite server and accept all certificates:puppet cert sign –all
Go back to the server and run:puppet agent -tv