<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — SSL]]></title>
		<link>http://www.iredmail.org/forum/topic16-ssl.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic16.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SSL.]]></description>
		<lastBuildDate>Sun, 10 May 2009 01:41:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SSL]]></title>
			<link>http://www.iredmail.org/forum/post51.html#p51</link>
			<description><![CDATA[<div class="quotebox"><cite>simonbouchard wrote:</cite><blockquote><p>I got the following error message : </p><p> </p><div class="codebox"><pre><code>root@mx01 [~/iRedMail-0.4.0]# setfacl -m u:ldap:r-- /etc/pki/iRedMail/SSL_Key.pem
setfacl: Option -m: Invalid argument near character 3</code></pre></div></blockquote></div><p>It works for me here. No idea why it happened. <img src="http://www.iredmail.org/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 10 May 2009 01:41:17 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post51.html#p51</guid>
		</item>
		<item>
			<title><![CDATA[Re: SSL]]></title>
			<link>http://www.iredmail.org/forum/post50.html#p50</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>simonbouchard wrote:</cite><blockquote><p>It worked <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thank you for your time!!</p></blockquote></div><p>Forget to metion file permission: iredmail shares this ssl key by default, but file permission is 044, other programs can&#039;t read it. You must set advanced file system control.</p><p>Try this command:<br /></p><div class="codebox"><pre><code>$ cd /path/to/iRedMail-x.y.z/
$ grep -r &#039;setfacl&#039; *</code></pre></div></blockquote></div><p>I got the following error message : </p><p> </p><div class="codebox"><pre><code>root@mx01 [~/iRedMail-0.4.0]# setfacl -m u:ldap:r-- /etc/pki/iRedMail/SSL_Key.pem
setfacl: Option -m: Invalid argument near character 3</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (simonbouchard)]]></author>
			<pubDate>Sat, 09 May 2009 19:38:09 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post50.html#p50</guid>
		</item>
		<item>
			<title><![CDATA[Re: SSL]]></title>
			<link>http://www.iredmail.org/forum/post49.html#p49</link>
			<description><![CDATA[<div class="quotebox"><cite>simonbouchard wrote:</cite><blockquote><p>It worked <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thank you for your time!!</p></blockquote></div><p>Forget to metion file permission: iredmail shares this ssl key by default, but file permission is 044, other programs can&#039;t read it. You must set advanced file system control.</p><p>Try this command:<br /></p><div class="codebox"><pre><code>$ cd /path/to/iRedMail-x.y.z/
$ grep -r &#039;setfacl&#039; *</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 09 May 2009 16:47:57 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post49.html#p49</guid>
		</item>
		<item>
			<title><![CDATA[Re: SSL]]></title>
			<link>http://www.iredmail.org/forum/post48.html#p48</link>
			<description><![CDATA[<p>It worked <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thank you for your time!!</p>]]></description>
			<author><![CDATA[null@example.com (simonbouchard)]]></author>
			<pubDate>Sat, 09 May 2009 16:04:51 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post48.html#p48</guid>
		</item>
		<item>
			<title><![CDATA[Re: SSL]]></title>
			<link>http://www.iredmail.org/forum/post47.html#p47</link>
			<description><![CDATA[<p>Please read iRedMail-x.y.z/functions/packages.sh:<br /></p><div class="codebox"><pre><code>gen_pem_key()
{
    # Create necessary directories.
    [ -d ${SSL_FILE_DIR} ] || mkdir -p ${SSL_FILE_DIR}

    openssl req \
        -x509 -nodes -days 3650 -newkey rsa:1024 \
        -subj &quot;/C=${TLS_COUNTRY}/ST=${TLS_STATE}/L=${TLS_CITY}/O=${TLS_COMPANY}/OU=${TLS_DEPARTMENT}/CN=${TLS_HOSTNAME}/emailAddress=${TLS_ADMIN}/&quot; \
        -out ${SSL_CERT_FILE} -keyout ${SSL_KEY_FILE} &gt;/dev/null 2&gt;&amp;1

    # Set correct file permission.
    chmod 0444 ${SSL_CERT_FILE}
    chmod 0400 ${SSL_KEY_FILE}
}</code></pre></div><p>All variables are defined in iRedMail-x.y.z/conf/global.</p><p>Good luck.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 09 May 2009 15:44:06 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post47.html#p47</guid>
		</item>
		<item>
			<title><![CDATA[SSL]]></title>
			<link>http://www.iredmail.org/forum/post46.html#p46</link>
			<description><![CDATA[<p>Greeting,</p><p>I&#039;ve done a mistake during the setup process ; the SSL certificate for Postfix is wrong (wrong domain name) and I would like to generate a new one ; does anyone know how to generate and install a new SSL certificate ?</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (simonbouchard)]]></author>
			<pubDate>Sat, 09 May 2009 15:32:53 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post46.html#p46</guid>
		</item>
	</channel>
</rss>
