November 18

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


Copyright 2021. All rights reserved.

Posted November 18, 2021 by Timothy Conrad in category "Linux

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B