Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th November 2009, 01:31
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default SSL for mail.* but still be able to use SSL for every domain

Hi,
i want to secure the communication with my webmail interface. therefore i added the attached code (1) to the 000-default vhost file.
when enabling SSL for a domain i get a error message:
Code:
warn] _default_ VirtualHost overlap on port 443, the first has precedence
is there any way i can configure my system to allow both encryption for webmail and for the domains?

i use mail.<anydomainonmyserver.com>/webmail as interface for all my customers.


thanks in advance, giftsnake

vhost-file:
<VirtualHost *:80> .... nothing changed here </VirtualHost>
<VirtualHost *:443> same as above plus:
<IfModule mod_ssl.c>
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
</IfModule>
</VirtualHost>
Reply With Quote
Sponsored Links
  #2  
Old 12th November 2009, 13:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

The above configuration will not work as ssl certs are domain specific and every user will get a error message that a wrong ssl cert is used.

Better create a website mail.yourcompany.com and then tell your customers to use this central web interface.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
Postfix mutiple domain ucc ssl ? tecstream Server Operation 1 8th October 2009 10:26
SSL for virtual hosts on one certificate rbartz Tips/Tricks/Mods 8 20th November 2007 18:59
SSL in new domain metaldrummer Installation/Configuration 1 7th December 2006 21:57
rebuild ssl certificates for domain change whitty Installation/Configuration 1 6th June 2006 13:12


All times are GMT +2. The time now is 23:11.


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