Problem:
Generated default certificates on foreman server and manually copied cert to smart proxy server root/fqdn-certs.tar. Then ran foreman-installer --scenario foreman-proxy-content command generated by foreman-proxy-certs-generate.
Now getting the following error:
[NOTICE] [configure] 1000 configuration steps out of 1132 steps complete.
2023-10-17 11:30:56 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-(smart proxy fqdn)]: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain) in get request to: https://(foreman server fqdn)/api/v2/hosts?search=name%3D%[22(smart proxy fqdn)](http://22(smart proxy fqdn))%22
2023-10-17 11:30:56 [ERROR ] [configure] Wrapped exception:
2023-10-17 11:30:56 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
Expected outcome:
Configuration finishes with no error
Foreman and Proxy versions:
3.7/ 3.7
Distribution and version:
RHEL 8