SSL for mail.* but still be able to use SSL for every domain

Discussion in 'Installation/Configuration' started by giftsnake, Nov 12, 2009.

  1. giftsnake

    giftsnake New Member

    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:
    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.<>/webmail as interface for all my customers.

    thanks in advance, giftsnake

    <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
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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 and then tell your customers to use this central web interface.

Share This Page