Problem:
Stupid admin.
Trying to replace the custom certs on the FM/K server after the server cert expired. I got a new cert from the CA and ran the typical installer command with the new cert, however, it tries to communicate withe current installation via SSL, which of course fails:
2022-10-14 14:04:44 [NOTICE] [configure] 1500 configuration steps out of 1705 steps complete.
2022-10-14 14:04:45 [ERROR ] [configure] /Stage[main]/Foreman::Register/Foreman_host[foreman-foreman.example.com]: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired) in get request to: https://foreman.example.com/api/v2/hosts?search=name%3D%22foreman.example.com%22
2022-10-14 14:04:45 [ERROR ] [configure] Wrapped exception:
2022-10-14 14:04:45 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)
2022-10-14 14:04:58 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-foreman.example.com]: Could not evaluate: Exception SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired) in get request to: https://foreman.example.com/api/v2/hosts?search=name%3D%22foreman.example.com%22
2022-10-14 14:04:58 [ERROR ] [configure] Wrapped exception:
2022-10-14 14:04:58 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)
2022-10-14 14:05:05 [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
Expected outcome:
This is the expected outcome.
However, is there any magic command line option for foreman-installer to skip the validity check of the currently running certificate?
Foreman and Proxy versions:
FM 3.2
K 4.4
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7.9