Hi,

I want to set up multi domain SSL on Single-Server Installation

I have the following configuration:

Zimbra version: 8.0.1.GA.5438.UBUNTU12.64 UBUNTU12_64 NETWORK edition.

1.1.1.1 -> domain1.com (Base domain)
1.1.1.2 -> domain2.com
1.1.1.3 -> domain3.com


1. Prepared Zimbra Proxy Server:

zmtlsctl http
/opt/zimbra/libexec/zmproxyconfig -m -w -e -x both -H `zmhostname`
zmproxyctl restart


2. Configured Virtual Hostname and Virtual IP for every domain:

zmprov md domain1.com +zimbraVirtualHostName mail.domain1.com +zimbraVirtualIPAddress 1.1.1.1
zmprov md domain2.com +zimbraVirtualHostName mail.domain2.com +zimbraVirtualIPAddress 1.1.1.2
zmprov md domain3.com +zimbraVirtualHostName mail.domain3.com +zimbraVirtualIPAddress 1.1.1.3


3. Deployed Certificates for each domain (I have Multidomain Certificates: *.domain1.com, *.domain2.com, *.domain3.com):

mkdir /opt/zimbra/conf/domaincerts
cd /opt/zimbra/conf/domaincerts
zmcertmgr verifycrt comm domain1.key domain1.crt
zmcertmgr verifycrt comm domain2.key domain2.crt
zmcertmgr verifycrt comm domain3.key domain3.crt
/opt/zimbra/libexec/zmdomaincertmgr deploycrts
/opt/zimbra/libexec/zmdomaincertmgr savecrt domain1.com domain1.crt domain1.key
/opt/zimbra/libexec/zmdomaincertmgr savecrt domain2.com domain1.crt domain2.key
/opt/zimbra/libexec/zmdomaincertmgr savecrt domain3.com domain1.crt domain3.key


4. Configured network:

auto eth0
iface eth0 inet static
address 1.1.1.1
network 1.1.1.0
netmask 255.255.255.0
broadcast 1.1.1.255
gateway 1.1.1.254

auto eth0:0
iface eth0:0 inet static
address 1.1.1.2
network 1.1.1.0
netmask 255.255.255.0
broadcast 1.1.1.255

auto eth0:1
iface eth0:1 inet static
address 1.1.1.3
network 1.1.1.0
netmask 255.255.255.0
broadcast 1.1.1.255


5. Configured A-records in public DNS:

mail.domain1.com. IN A 1.1.1.1
mail.domain2.com. IN A 1.1.1.2
mail.domain3.com. IN A 1.1.1.3

webmail.domain1.com. IN A 1.1.1.1
webmail.domain2.com. IN A 1.1.1.2
webmail.domain3.com. IN A 1.1.1.3


So far it's working OK.

But when I add Virtual Hostname:

zmprov md domain1.com +zimbraVirtualHostName webmail.domain1.com

and I restart proxy, I get:

zmproxyctl restart
Stopping nginx...done.
Starting nginx...failed.
nginx start failed. reason: The configurations of zimbraVirtualHostname and zimbraVirtualIPAddress are mismatched


What am I missing here? Any idea why this won't work?