@aruzicka Thanks for pointing that httpd is responsible for setting those headers. I will continue debugging in that direction.
Foreman version - 2.2.0-develop I might have pull the develop branch a week ago or so.
foreman_remote_execution - latest master branch.
foreman-proxy - 2.2.0-0.2.develop.20200514124310gite138e23.el7.noarch
smart_proxy_dynflow_core - tfm-rubygem-smart_proxy_dynflow_core0.2.5-1.fm2_1.el7.noarch
I have seen the below-related issue. But didn’t found anything that will help.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1596636
[2] No SSL cert with CN supplied - request from xxxxxxx - #4 by Dominic_Cleal2