Failed to submit ‘replace facts’ to PuppetDB: certificate verify failed

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.

4 thoughts on “Failed to submit ‘replace facts’ to PuppetDB: certificate verify failed

Leave a Reply

Your email address will not be published. Required fields are marked *