Installer does not generate valid apache configuration
At least under Ubuntu, the installer is not generating valid apache configurations for the foreman side of things, and this causes an SSL error (which I reported in IRC).
Basically if you specify a vhost while NOT specifying a NameVirtualHost setting, apache freaks out.
The fix for this is simple in Ubuntu. Add the following to ports.conf:
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Then you need to modify the foreman installer to use then:
<VirtualHost *:443> instead of the server IP... or you could use the server IP, but I think it should be safe to not do so.
#1 Updated by Dominic Cleal over 6 years ago
- Status changed from New to Closed
- Target version set to 1.2.0
- % Done changed from 0 to 100
Thanks for the report, I think this has now been resolved by https://github.com/theforeman/puppet-foreman/commit/2a756241d52.