[Gllug] Apache-ssl

Stephen Harker steve at pauken.co.uk
Wed Jul 17 16:26:39 UTC 2002


Hi All
I'm trying to set up apache-ssl to host our squirrelmail email system but I 
seem to be doing something wrong. When I connect with any of the three (1 
default or 2 virtual host) names, I always get the /var/www/webmail folder 
and I always get offered the webmail.topdecktravel.co.uk certificate??

I have generated three certificates with 'ssl-certificate' (This is on Debian 
Woody)
stravinsky.admin.topdecktravel.co.uk = default server name. delivers default 
pages.
webmail.topdecktravel.co.uk = external dns name of server (forwarded through 
firewall to internal network) points to squirrelmail
webmail.admin.topdecktravel.co.uk = internal dns name for inside use points to 
squirrelmail.
Created the certificates with the three different server names, renamed them 
and pointed each virtual host to them ...

DocumentRoot /var/www
ServerName stravinsky.admin.topdecktravel.co.uk
SSLCACertificatePath /etc/apache-ssl
SSLCertificateFile /etc/apache-ssl/stravinsky.admin.topdecktravel.co.uk.pem

NameVirtualHost 192.168.1.5:443
<VirtualHost 192.168.1.5:443 >
DocumentRoot /var/www/webmail
ServerName webmail.topdecktravel.co.uk
SSLCertificateFile /etc/apache-ssl/webmail.topdecktravel.co.uk.pem
</VirtualHost>
<VirtualHost 192.168.1.5:443 >
DocumentRoot /var/www/webmail
ServerName webmail.admin.topdecktravel.co.uk
SSLCertificateFile /etc/apache-ssl/webmail.admin.topdecktravel.co.uk.pem
</VirtualHost>

What happens when I start apache-ssl is...

stravinsky:/etc/apache-ssl# /etc/init.d/apache-ssl restart                                  
Reloading apache-ssl modulesReading key for server 
stravinsky.admin.topdecktravel.co.uk:443
Reading key for server webmail.admin.topdecktravel.co.uk:443
Reading key for server webmail.topdecktravel.co.uk:443
Launching... /usr/lib/apache-ssl/gcache
pid=30876

So that looks normal. (?)
Am I missing the point here?
Steve

-- 
Stephen Harker
steve at pauken.co.uk

"The sooner we fall behind, the longer we have to catch up!"



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list