Problem: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
Expected outcome: Foreman installer should use custom certificate
Foreman and Proxy versions: foreman-3.1.0-0.1.rc1.el8.noarch & foreman-proxy-3.1.0-0.2.rc1.el8.noarch
Foreman and Proxy plugin versions:
foreman-selinux-3.1.0-0.1.rc1.el8.noarch
rubygem-foreman-tasks-5.2.0-1.fm3_1.el8.noarch
rubygem-foreman_maintain-0.9.2-1.el8.noarch
rubygem-foreman_remote_execution-4.8.0-1.fm3_1.el8.noarch
foreman-cli-3.1.0-0.1.rc1.el8.noarch
foreman-dynflow-sidekiq-3.1.0-0.1.rc1.el8.noarch
katello-ca-consumer-foreman.infra.spindices.com-1.0-7.noarch
foreman-release-3.1.0-0.2.rc1.el8.noarch
rubygem-hammer_cli_foreman_tasks-0.0.16-1.fm3_0.el8.noarch
foreman-debug-3.1.0-0.1.rc1.el8.noarch
foreman-postgresql-3.1.0-0.1.rc1.el8.noarch
foreman-client-release-3.0.1-1.el8.noarch
foreman-installer-3.1.0-0.1.rc1.el8.noarch
foreman-installer-katello-3.1.0-0.1.rc1.el8.noarch
foreman-proxy-3.1.0-0.2.rc1.el8.noarch
rubygem-hammer_cli_foreman-3.1.0-1.el8.noarch
rubygem-hammer_cli_foreman_remote_execution-0.2.2-1.fm3_0.el8.noarch
foreman-3.1.0-0.1.rc1.el8.noarch
foreman-service-3.1.0-0.1.rc1.el8.noarch
Distribution and version:
RHEL 8.5
Other relevant data:
katello-certs-check gets passed but while installing katello scenario with custom certificate it is getting failed
2021-11-28 10:51:16 [NOTICE] [configure] Starting system configuration.
2021-11-28 10:51:33 [NOTICE] [configure] 250 configuration steps out of 1690 steps complete.
2021-11-28 10:51:44 [NOTICE] [configure] 500 configuration steps out of 1690 steps complete.
2021-11-28 10:51:45 [NOTICE] [configure] 750 configuration steps out of 1694 steps complete.
2021-11-28 10:51:48 [NOTICE] [configure] 1000 configuration steps out of 1701 steps complete.
2021-11-28 10:51:49 [NOTICE] [configure] 1250 configuration steps out of 1702 steps complete.
2021-11-28 10:58:36 [NOTICE] [configure] 1500 configuration steps out of 1702 steps complete.
2021-11-28 10:59:31 [ERROR ] [configure] /Stage[main]/Foreman::Register/Foreman_host[foreman-frm.infra.spdji.spgi]: 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://frm.infra.spdji.spgi/api/v2/hosts?search=name%3D"frm.infra.spdji.spgi"
2021-11-28 10:59:31 [ERROR ] [configure] Wrapped exception:
2021-11-28 10:59:31 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
2021-11-28 11:00:26 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
The full log is at /var/log/foreman-installer/katello.log