Adding my own WildCard SSL Certificate to Zimbra Collabration Server 8

Installation of Zimbra is a breeze, on my CentOS 6.3 Minimal install it took less than 5 minutes of interaction.

To get the SSL certificate installed took a little more tweaking then the install but after some trial and error the final list of commands were very short.

cp /opt/zimbra/ssl/zimbra/ca.pem /opt/zimbra/ssl/zimbra/ca.pem.bak  
echo /dev/null > /opt/zimbra/ssl/zimbra/ca.pem  
nano /opt/zimbra/ssl/zimbra/ca/ca.pem  
    # Insert our ca.pem here, only the certificate not the key
nano /opt/zimbra/ssl/zimbra/commercial/commercial.key  
    # Insert the .key file contents
nano /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt  
    # Insert the .crt file contents

# Now we'll deploy our crt, telling Zimbra it's a commercial cert (although it's not)
/opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/zimbra/ca/ca.pem

# Verify the installed cert
/opt/zimbra/bin/zmcertmgr viewdeployedcrt

# Force SSL with a redirect
zmtlsctl redirect

# Restart
zmcontrol stop  
zmcontrol start  
comments powered by Disqus