<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AndyB &#187; zimbra</title>
	<atom:link href="http://andrewbevitt.com/tag/zimbra/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewbevitt.com</link>
	<description>shakin&#039; up noth-ink</description>
	<lastBuildDate>Mon, 26 Sep 2011 03:32:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Zimbra SSL Certificate</title>
		<link>http://andrewbevitt.com/2009/02/12/zimbra-ssl-certificate/</link>
		<comments>http://andrewbevitt.com/2009/02/12/zimbra-ssl-certificate/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 12:53:27 +0000</pubDate>
		<dc:creator>AndyB</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[ca]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[zimbra]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://andrewbevitt.com/?p=179</guid>
		<description><![CDATA[<br/><p>If you&#8217;re running Zimbra, or planning to, then chances are you will want to use SSL to secure your client connections. The <a href="http://wiki.zimbra.com/index.php?title=Main_Page">Zimbra wiki</a> 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 [...]]]></description>
			<content:encoded><![CDATA[<br/><p>If you&#8217;re running Zimbra, or planning to, then chances are you will want to use <abbr title="Secure Sockets Layer">SSL</abbr> to secure your client connections. The <a href="http://wiki.zimbra.com/index.php?title=Main_Page">Zimbra wiki</a> 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 <abbr title="Certificate Signing Request">CSR</abbr> and sign it (with your own <abbr title="Certificate Authority">CA</abbr> or using a paid for service).</p>
<p>So here is my no frills howto make, sign, and deploy: <span id="more-179"></span></p>
<p><em>Always use absolute path names &#8211; otherwise you&#8217;ll get strange warnings &#8211; everything seems to work &#8211; but you&#8217;ll get strange warnings.</em></p>
<ol>
<li>Generate a CSR (as root):<br />
<code>/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"</code><br />
You can leave out subjectAltNames altogether if you don&#8217;t need it.</li>
<li>This will create /opt/zimbra/ssl/zimbra/commercial/commericial.csr (and .key) copy the CSR to where your CA needs it.</li>
<li>Sign the CSR. If you&#8217;re using your own CA:<br />
<code>openssl ca -config openssl.cnf -policy policy_anything -out certs/commercial.crt -infiles commercial.csr</code></li>
<li>Copy signed CRT + CA CRT to:
<ul>
<li>/opt/zimbra/ssl/zimbra/commercial/commercial.crt</li>
<li>/opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt</li>
</ul>
</li>
<li>Install the certificate (as root):<br />
<code>/opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.crt /opt/zimbra/ssl/zimbra/commercial/commericial_ca.crt</code></li>
</ol>
<p>Now use zmcontrol to stop and restart your Zimbra processes and off you go.</p>
<p>If you receive errors about TLS and ctx when trying to start LDAP then it&#8217;s likely your CA didn&#8217;t install properly. Follow the instructions in <a href="http://www.zimbra.com/forums/administrators/23369-huge-problem-after-upgrade-tls-init-def-ctx-failed-1-a.html#post112782">this post</a> and then <code>zmcontrol start</code>. Once up and running try step 5 again.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewbevitt.com/2009/02/12/zimbra-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

