HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   https/SSL issues (http://www.howtoforge.com/forums/showthread.php?t=32861)

binaryrogue 25th March 2009 19:25

https/SSL issues
 
I enabled SSL on one of the sites and also created a certificate from the UI. The .vhost files for the domain created also shows correct entries for the virtualhost to listen on 443.

Code:

<IfModule mod_ssl.c>
###########################################################
# SSL Vhost
###########################################################

<VirtualHost *:443>
      DocumentRoot /var/www/mydomain.com/web

Everytime when I try to restart the apache server, I get this.

Code:

Starting httpd: [Wed Mar 25 16:23:15 2009] [warn] NameVirtualHost *:443 has no VirtualHosts
I'm using Fedora 9. Any ideas?

till 25th March 2009 22:36

SSL vhosts in apache have always to be bount to a IP address, you will have to select the correct IP instead of * in the website settings.

binaryrogue 26th March 2009 00:14

That did the trick.
I also forgot to install mod_ssl as well.


All times are GMT +2. The time now is 08:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.