I installed foreman on centos with the rpm packages and then run foreman-installer. I tried to change the certificates also manually as described here:
Perhaps you can post or send me your files with the referring ssl parameters:
/etc/httpd/conf.d/05-foreman-ssl.conf
/etc/foreman/settings.yaml
/etc/foreman-proxy/settings.yml
/etc/puppetlabs/puppet/foreman.yaml