3 posts / 0 new
Last post
#1 Mon, 03/23/2009 - 07:44
theserve

mod_ssl

Firstly thanks to the team for such an excellent product!

I am having trouble getting apache with mod_ssl running.

Here's what I am doing (Version 3.64):

System Settings -> Features and Plugins

I tick the "SSL website" Box and then press Save and I get the following error:

Failed to save enabled features : The Apache configuration on your system does not appear to be listening on port 443, which is needed to host SSL websites. If you do not plan to host SSL sites, this feature should be disabled in Virtualmin's module configuration page.

So I then do a yum list mod_ssl:

Installed Packages mod_ssl.i386 2:2.2.3-11.el5.3vm installed Available Packages mod_ssl.i386 1:2.2.3-11.el5_2.cento updates

So it appears the VM mod_ssl is installed!

I have added the following line to /etc/http/conf/httpd.conf:

LoadModule ssl_module modules/mod_ssl.so

And restarted but still the server is not listening on 443.

Does anybody have any pointers? I don't want to mess around too much without guidance as this is a production server with over 100 Virtual Servers on it.

Any help much appreciated.

Mon, 03/23/2009 - 07:52
andreychek

Howdy,

Do you recall how you went about installing Virtualmin? Typically, a stock install of RHEL/CentOS and Virtualmin has Apache listening on port 443.

Usually, there is a file in /etc/httpd/conf.d/ssl.conf that loads the SSL module and such.

If you log into your server over SSH, and type:

/etc/init.d/httpd restart

Do you get any errors or warnings?
-Eric

Mon, 03/23/2009 - 08:00 (Reply to #2)
theserve

Thanks. that solved it. There was a 0 byte ssl.conf file and one named ssl.conf.backup i swapped them over and now its working!

Topic locked