Zimbra SSL Certificate
If you’re running Zimbra, or planning to, then chances are you will want to use SSL to secure your client connections. The Zimbra wiki has quite a few articles on doing this but they all seem a little over written if all you need to do is create a CSR and sign it (with your own CA or using a paid for service).
So here is my no frills howto make, sign, and deploy:
Always use absolute path names – otherwise you’ll get strange warnings – everything seems to work – but you’ll get strange warnings.
- Generate a CSR (as root):
/opt/zimbra/bin/zmcertmgr createcsr comm -new -subject "/C=Country/ST=State/L=City/O=Company/OU=Department/CN=zimbra.domain.name" -subjectAltNames "webmail.domain.name,pop3.domain.name"
You can leave out subjectAltNames altogether if you don’t need it. - This will create /opt/zimbra/ssl/zimbra/commercial/commericial.csr (and .key) copy the CSR to where your CA needs it.
- Sign the CSR. If you’re using your own CA:
openssl ca -config openssl.cnf -policy policy_anything -out certs/commercial.crt -infiles commercial.csr - Copy signed CRT + CA CRT to:
- /opt/zimbra/ssl/zimbra/commercial/commercial.crt
- /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt
- Install the certificate (as root):
/opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.crt /opt/zimbra/ssl/zimbra/commercial/commericial_ca.crt
Now use zmcontrol to stop and restart your Zimbra processes and off you go.
If you receive errors about TLS and ctx when trying to start LDAP then it’s likely your CA didn’t install properly. Follow the instructions in this post and then zmcontrol start. Once up and running try step 5 again.
2 Responses to Zimbra SSL Certificate
Leave a Reply Cancel reply
You must be logged in to post a comment.
Rickshaw Run
In Jan 2010 I participated in the Rickshaw Run 2010 Winter Edition; you can read all about the adventure and my teams participation...$30 Food Challenge
In Feb 2009 I attempted to "eat with $30 for a week"; the run down starts here...
Tags
3G apple asterisk bigpond boring coding design facebook food challenge howto internet kvm life linux login mobile multiwan nat nbn networking NextG on a hill openvpn pfsense politics project management question random revival centres revival centres rickshaw router server2008 smoothwall spiritual study aid telstra thought trac travel tutorial what the windows windows7 wordpress






Here’s a lengthy write up I made using information from several threads:
IT Bang Bang: Installing $12.99 GoDaddy SSL Certificate on Zimbra versions 5 and 6
I hope it helps people get their Certificates properly set up.
Leave me comments if it worked.
Use this reply instead. Thanks.
Here’s a lengthy write up I made using information from several threads:
IT Bang Bang: Installing $12.99 GoDaddy SSL Certificate on Zimbra versions 5 and 6
I hope it helps people get their Certificates properly set up.
Leave me comments if it worked.