Project

General

Profile

Actions

Bug #2346

closed

Installer does not generate valid apache configuration

Added by Justice London over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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:

<IfModule mod_ssl.c> # 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.
Listen 443
NameVirtualHost *:443
</IfModule>

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.

Actions #1

Updated by Dominic Cleal over 11 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.

Actions #2

Updated by Greg Sutcliffe about 6 years ago

  • Target version deleted (1.2.0)
Actions

Also available in: Atom PDF