Smart Proxy upgrade problem 3.11.2

Problem:
By upgrading external Smart proxy to 3.11.2 i am getting that error by foreman-installer:

024-10-08 10:09:02 [NOTICE] [configure] 1500 configuration steps out of 1646 steps complete.
2024-10-08 10:09:04 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-smartproxy..com]: 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..com/api/v2/hosts?search=name%3D%22smartproxy..com%22
2024-10-08 10:09:04 [ERROR ] [configure] Wrapped exception:
2024-10-08 10:09:04 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
2024-10-08 10:09:04 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[smartproxy..com]: 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..com/api/v2/smart_proxies?search=name%3D%22smartproxy..com%22
2024-10-08 10:09:04 [ERROR ] [configure] Wrapped exception:
2024-10-08 10:09:04 [ERROR ] [configure] SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
2024-10-08 10:09:07 [NOTICE] [configure] System configuration has finished.

Error 1: Puppet Foreman_host resource 'foreman-proxy-smartproxy..com' failed. Logs:
  /Stage[main]/Foreman_proxy::Register/Foreman_host[foreman-proxy-smartproxy..com]
    Adding autorequire relationship with Anchor[foreman::providers::oauth]
    Starting to evaluate the resource (1632 of 1647)
    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..com/api/v2/hosts?search=name%3D%22smartproxy..com%22
Wrapped exception:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
    Evaluated in 0.27 seconds
  Foreman_host[foreman-proxy-smartproxy..com](provider=rest_v3)
    Making get request to https://foreman..com/api/v2/hosts?search=name%3D%22smartproxy..com%22
Error 2: Puppet Foreman_smartproxy resource 'smartproxy..com' failed. Logs:
  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[smartproxy..com]
    Adding autorequire relationship with Anchor[foreman::providers::oauth]
    Starting to evaluate the resource (1634 of 1647)
    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..com/api/v2/smart_proxies?search=name%3D%22smartproxy..com%22
Wrapped exception:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
    Evaluated in 0.25 seconds
  Foreman_smartproxy[smartproxy..com](provider=rest_v3)
    Making get request to https://foreman..com/api/v2/smart_proxies?search=name%3D%22smartproxy..com%22

2 errors were detected.
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/foreman-proxy-content.log
[root@smartproxy smartproxy..com]# 

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Upgraded to Foreman 3.12.0 and the installation was successful.

You ran into this bug that is currently in 3.11.2, it is hitting LOTS of people upgrading to 3.11 right now.

We are waiting on a 3.11.3 or 3.11.4 to get the fix included, but apparently there is some sort of problem with that release.