After creating a new Puppet Master to upgrade to Puppet6, I executed the following inorder to clear old certificates.
rm -rf /etc/puppetlabs/puppet/ssl
After pointing the old client at the new master, the client cannot generate new certificates.
Here's the Error that i am getting:
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN={server FQDN}]
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN={server FQDN}]