The error message:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit ‘replace facts’ command for ipeerdbprod1.ctlt.ubc.ca to PuppetDB at puppet.ctlt.ubc.ca:8081: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [unable to get local issuer certificate for /CN=puppet.ctlt.ubc.ca]
Cause:
Accidentally executed – puppet cert –clean –all
Fix:
mv /etc/puppetdb/ssl /etc/puppetdb/ssl.bak
/usr/sbin/puppetdb-ssl-setup -f
/sbin/service puppetdb restart
Check /var/log/puppetdb/puppetdb.log for any error.
Helped a lot. Thanks!
Thanks a lot ! this solution saved my lot of time. Thanks again.
This should be on top of any google search, it would have saved me a lot of time!
Thank you!!
Thanks a ton, I was stuck cleaning up someone else’s puppet server and this saved me.