*Problem:
After trying to install Standalone Puppet master and add it to existing Foreman,
I keep getting this error:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
I am doing it by manual:
foreman-installer \
--no-enable-foreman \
--no-enable-foreman-cli \
--no-enable-foreman-plugin-bootdisk \
--no-enable-foreman-plugin-setup \
--enable-puppet \
--puppet-server-ca=false \
--puppet-server-foreman-url=https://foreman.example.com \
--enable-foreman-proxy \
--foreman-proxy-puppetca=false \
--foreman-proxy-tftp=false \
--foreman-proxy-foreman-base-url=https://foreman.example.com \
--foreman-proxy-trusted-hosts=foreman.example.com \
--foreman-proxy-oauth-consumer-key=<key here> \
--foreman-proxy-oauth-consumer-secret=<secret here>
Foreman has a self signed CA. *
**Expected outcome:no error
**Foreman and Proxy versions:Foreman: Version 1.15.4 Proxy: 2.0.1
OS: CentOS Linux release 7.7.1908
I have copied CA certificate from Foreman to new puppet master directory /etc/pki/ca-trust/source/anchors, run “update-ca-trust”, but no effect.
Can I disable strict certificate checking when running installer?