Hello everyone! I’m having issues with pushing facts to Foreman, where I get the following error:
[root@puppet ~]# sudo -u puppet /etc/puppetlabs/puppet/node.rb <redacted domain> --push-facts
During fact upload occured an exception: SSL_connect returned=1 errno=0 state=error: tlsv1 alert unknown ca
During fact upload occured an exception: Could not send facts to Foreman: SSL_connect returned=1 errno=0 state=error: tlsv1 alert unknown ca
[root@puppet ~]#
But I can verify that the following does work between Foreman and Puppet:
[root@puppet ~]# puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for <redacted domain>
Info: Applying configuration version '1574664355'
Notice: Applied catalog in 0.34 seconds
[root@puppet ~]#
I am using the following SSL settings:
foreman-installer \
--foreman-server-ssl-cert="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.crt" \
--foreman-server-ssl-certs-dir="/etc/puppetlabs/puppet/rapidssl" \
--foreman-server-ssl-key="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.key" \
--foreman-server-ssl-ca="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.ca" \
--foreman-server-ssl-chain="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.bundle" \
--puppet-server-foreman-ssl-ca="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.ca" \
--foreman-proxy-foreman-ssl-ca="/etc/puppetlabs/puppet/rapidssl/<redacted domain>.ca"
We’d appreciate any and all help on this issue, thank you.