<?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>Linux Mail Server Setup and Howto Guide &#187; SSL/TLS</title>
	<atom:link href="http://www.linuxmail.info/category/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Tue, 01 Nov 2011 00:43:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Postfix and Dovecot SSL/TLS</title>
		<link>http://www.linuxmail.info/postfix-dovecot-ssl/</link>
		<comments>http://www.linuxmail.info/postfix-dovecot-ssl/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 17:01:32 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=378</guid>
		<description><![CDATA[This article describes how to configure Postfix and Dovecot to use SSL/TLS to encrypt communication.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to configure Postfix and Dovecot to use SSL/TLS to encrypt communication. Before you begin, <a href="/generate-ssl-certificate/">generate an SSL certificate</a>.</p>
<span id="more-378"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Postfix</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-main-cf-tls.png"><img class="preview" alt="Edit main.cf" src="/images/centos-5/t-edit-main-cf-tls.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/postfix/main.cf</em> and add the lines below.</div>
<pre class="steps">
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.acme.local.cert
smtpd_tls_key_file = /etc/pki/tls/private/mail.acme.local.key
tls_random_source = dev:/dev/urandom
</pre>
<p>Make sure <strong>smtpd_tls_cert_file</strong> and <strong>smtpd_tls_key_file</strong> refers to your own certificate and key file respectively.</p>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Restart the Postfix or MailScanner service if you have installed it. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/postfix-smtp-server-howto-centos-5/#test-postfix">Test Postfix using Telnet</a> and check if <tt>250-STARTTLS</tt> is present after the <tt>ehlo host</tt> command.</div>
<h2>Dovecot</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-dovecot-conf-tls.png"><img class="preview" alt="Edit dovecot.conf" src="/images/centos-5/t-edit-dovecot-conf-tls.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/dovecot.conf</em> and add the lines below.</div>
<pre class="steps">
ssl_cert_file = /etc/pki/tls/certs/mail.acme.local.cert
ssl_key_file = /etc/pki/tls/private/mail.acme.local.key
</pre>
<p>Make sure <strong>ssl_cert_file</strong> and <strong>ssl_key_file</strong> refers to your own certificate and key file respectively.</p>
<div class="clearfix steps"><a href="/images/centos-5/service-config-3.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Restart the dovecot service. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/postfix-dovecot-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate SSL Certificate</title>
		<link>http://www.linuxmail.info/generate-ssl-certificate/</link>
		<comments>http://www.linuxmail.info/generate-ssl-certificate/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 16:58:28 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=377</guid>
		<description><![CDATA[This article describes how to generate your own self signed SSL certificate for encrypting your connections.]]></description>
			<content:encoded><![CDATA[<p>To use SSL or TLS to encrypt SMTP, POP3, IMAP or HTTP connections requires an SSL certificate. This article describes how to generate your own self signed SSL certificate. A self signed certificate will not cost you any money, but the certificate will not be automatically accepted as trusted by the email client or web browser.</p>
<span id="more-377"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/yum-install-crypto-utils.png"><img class="preview" alt="crypto-utils" src="/images/centos-5/t-yum-install-crypto-utils.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Install the SSL certificate and key management utilities using the command below.
<pre class="steps">
yum install crypto-utils
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-genkey.png"><img class="preview" alt="genkey" src="/images/centos-5/t-terminal-genkey.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Start the key generation utility using the command below.
<pre class="steps">
genkey --days 365 mail.acme.local
</pre>
Replace <strong>365</strong> with the number of days you want the certificate to be valid and <strong>mail.acme.local</strong> with your own domain name.
</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-keypair.png"><img class="preview" alt="Keypair generation" src="/images/centos-5/t-genkey-keypair.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Next</em> in the <strong>Keypair generation</strong> screen.</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-key-size.png"><img class="preview" alt="Choose key size" src="/images/centos-5/t-genkey-key-size.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click <em>Next</em> in the <strong>Choose key size</strong> screen.</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-random-bits.png"><img class="preview" alt="Generating random bits" src="/images/centos-5/t-genkey-random-bits.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. It will now generate the random bits for the private key.</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-csr.png"><img class="preview" alt="Select CSR" src="/images/centos-5/t-genkey-csr.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. In the <strong>Generate CSR</strong> screen, select <em>No</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-details.png"><img class="preview" alt="Certificate details" src="/images/centos-5/t-genkey-details.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Fill in the details for your certificate and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/genkey-protect.png"><img class="preview" alt="Protecting your private key" src="/images/centos-5/t-genkey-protect.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>8. In the <strong>Protecting your private key</strong> screen, click <em>Next</em>.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/generate-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>389 Directory and Active Directory SSL Synchronization</title>
		<link>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/</link>
		<comments>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 07:13:24 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=369</guid>
		<description><![CDATA[This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.]]></description>
			<content:encoded><![CDATA[<p>An SSL connection to Active Directory is required in order to update a user&#8217;s password using LDAP. This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.</p>
<span id="more-369"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configuring SSL Connection</h2>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-issued-certs.png"><img class="preview" alt="Certificate Authority" src="/images/windows-2003/t-certificate-authority-issued-certs.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Make sure SSL is enabled in Active Directory. <a href="/enable-ldap-ssl-active-directory/">Learn how to enable LDAP SSL in Active Directory.</a></div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/export-ssl-certificate-windows-2003/">Export a base-64 encoded SSL certificate from your Active Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-1.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Make sure SSL is enabled in 389 Directory Server. <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">Learn how to enable LDAP SSL in 389 Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-3.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. <a href="/install-ssl-certificate-fds/">Install the exported SSL certificate into 389 Directory Server.</a></div>
<h2>Testing SSL Connection</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch.png"><img class="preview" alt="ldapsearch" src="/images/centos-5/t-389-ds-ldapsearch.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type the command below to test if you can do a plain LDAP connection to your Active Directory server. You&#8217;ll be asked for the password of the user account you specified in the <strong>-D</strong> option.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - "objectclass=*"
</pre>
<p>Replace the value after <strong>-b</strong> with your search base, the value after <strong>-h</strong> with your server hostname and the value after <strong>-D</strong> with the distinguished name of a user account having read/write access to your Active Directory server.</p>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch-ssl.png"><img class="preview" alt="ldapsearch SSL" src="/images/centos-5/t-389-ds-ldapsearch-ssl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type the command below to test if you can do an SSL enabled LDAP connection to your Active Directory server.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - -Z -P /etc/dirsrv/slapd-mail "objectclass=*"
</pre>
</div>
<p>Replace the value after <strong>-P</strong> with the settings path of your 389 Directory server.</p>
<p>If the two test above succeeds, you can use SSL connection to synchronize with Active Directory.</p>
<h2>Troubleshooting</h2>
<p>If the output from the test above contains</p>
<ul>
<li><em>Invalid credentials</em><br /><p>Check the distinguished name of the user account after the <strong>-D</strong> option and the bind password for it. To check the distinguished name, type the command below.</p>
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" -h server 
-R -D "ACME\fds" -w - "samaccountname=fds" DN
</pre>
<p>Replace the value <strong>ACME</strong> with your own domain and <strong>fds</strong> with your own user name. It will output the distinguished name of the user name you specified.</p>
</li>
<li><em>Invalid function argument</em><br /><p>The host name you specified after <strong>-h</strong> is invalid or non-existent .</p></li>
<li><em>TCP connection reset by peer</em><br /><p>Check the host name you specified after <strong>-h</strong> is correct, the port is open, and <a href="/enable-ldap-ssl-active-directory/#check-certificate">SSL is configured properly.</a></p></li>
<li><em>security library: bad database</em><br /><p>Make sure <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">SSL is enabled in 389 Directory Server.</a> And check the path you specified after <strong>-P</strong>.</p></li>
<li><em>Encountered end of file</em><br /><p>After <a href="/enable-ldap-ssl-active-directory/">configuring SSL in Active Directory</a>, you probably did not reboot your Active Directory server. Reboot your AD server to complete the changes and try the test again.</p></li>
<li><em>Peer&#8217;s Certificate issuer is not recognized</em><br /><p>Check if you have <a href="/install-ssl-certificate-fds/">installed the certificate from Active Directory.</a></p></li>
<li><em>Peer&#8217;s Certificate has expired</em><br /><p>Make sure the <a href="/synchronize-system-clock-centos-5/">system clock is synchronized in the Linux server</a> and the Active Directory server. And the check the certificate, it may indeed be expired.</p></li>
<li><em>Peer&#8217;s certificate issuer has been marked as not trusted by the user</em><br /><p>Check the trust setting you specified in the certificate of the 389 Directory server. <a href="/install-ssl-certificate-fds/#intended-purpose"><em>Making connections to other servers</em> should be checked.</a></p></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install SSL Certificate in 389 Directory Server</title>
		<link>http://www.linuxmail.info/install-ssl-certificate-fds/</link>
		<comments>http://www.linuxmail.info/install-ssl-certificate-fds/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 02:05:34 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=200</guid>
		<description><![CDATA[This article describes how to install an SSL certificate in 389 Directory Server to be able to use encypted SSL connection in synchronization.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to install an <strong>SSL certificate</strong> in 389 Directory Server to be able to use encypted SSL connection during synchronization. If you will be synchronizing with an Active Directory server, make sure <a href="/enable-ldap-ssl-active-directory/">SSL is enabled</a>. You&#8217;ll also need a <a href="/export-ssl-certificate-windows-2003/">base-64 encoded SSL certificate</a> from your Active Directory server.</p>
<span id="more-200"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/389-ds-console.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a 
href="/389-directory-server-setup-howto-centos-5/#fds-admin">Launch the 389 Management Console</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-console-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-console-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click the + sign corresponding to your server. Next, click the + sign corresponding to <em>Server Group</em> and click <em>Directory Server</em>. Finally, click the <em>Open</em> button in the <em>Directory Server</em> page.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ds-tasks.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-ds-tasks.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Manage Certificates</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-1.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>CA Certs</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click the <em>Install</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-1.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Select the <em>in this local file</em> option and specify the location where the SSL certificate can be found. Click <em>Next</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-2.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Verify the certificate information and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>8. Verify the certificate type and click <em>Next</em>.</div>
<div id="intended-purpose" class="clearfix steps"><a href="/images/centos-5/389-ds-certificate-install-wizard-4.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-certificate-install-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>9. Click the <em>Done</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-3.png"><img class="preview" alt="389 Management Console" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>10. Finally, click <em>Close</em>.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/install-ssl-certificate-fds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Securing SquirrelMail using SSL</title>
		<link>http://www.linuxmail.info/securing-squirrelmail-using-ssl/</link>
		<comments>http://www.linuxmail.info/securing-squirrelmail-using-ssl/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 23:59:05 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[SquirrelMail]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=82</guid>
		<description><![CDATA[Learn how to secure your SquirrelMail communication using SSL.]]></description>
			<content:encoded><![CDATA[<p><strong>Secure Sockets Layer (SSL)</strong> enables the HTTP protocol to be secured. This page will show you how to configure SSL in Apache and SquirrelMail.</p>
<span id="more-82"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configuring Apache for SSL</h2>
<div class="clearfix steps"><a href="/images/centos-5/genkey-keypair.png"><img class="preview" alt="Keypair generation" src="/images/centos-5/t-genkey-keypair.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/generate-ssl-certificate/">Generate a certificate using the <em>genkey</em> tool.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/edit-ssl-conf.png"><img class="preview" alt="Edit ssl.conf" src="/images/centos-5/t-edit-ssl-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/httpd/conf.d/ssl.conf</em> and edit the lines below.</div>
<div class="clearfix steps">
<pre class="steps">
DocumentRoot /usr/share/squirrelmail
ServerName mail.acme.local:443
SSLCertificateFile /etc/pki/tls/certs/mail.acme.local.cert
SSLCertificateKeyFile /etc/pki/tls/private/mail.acme.local.key
</pre>
Replace <em>mail.acme.local</em> with your server name.
</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you are using Red Hat Enterprise Linux 6 or CentOS 6, the generated certificate file will have a <em>.crt</em> extension instead of <em>.cert</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you are not using Red Hat Enterprise Linux or CentOS, make sure the lines below are present.
<pre class="steps">
LoadModule ssl_module modules/mod_ssl.so
Listen 443
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Restart the httpd service. <a href="/how-to-start-stop-services-centos-5/">Learn how to restart services here.</a></div>
<div class="clearfix steps"><a href="/images/windows-xp/https-squirrelmail.png"><img class="preview" alt="HTTPS SquirrelMail" src="/images/windows-xp/t-https-squirrelmail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Try accessing SquirrelMail using <em>https</em> instead of <em>http</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can force browsers to always use the SSL version. See <a href="/squirrelmail-webmail-setup-howto-in-centos-5/#virtual-host">Relocating SquirrelMail into the domain root.</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/securing-squirrelmail-using-ssl/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Submitting Certificate Request to Microsoft Certificate Services</title>
		<link>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/</link>
		<comments>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 23:51:06 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=81</guid>
		<description><![CDATA[Learn how to submit a certificate request to the Microsoft Certificate Services.]]></description>
			<content:encoded><![CDATA[<p>If you are using Active Directory, you can use the <strong>Microsoft Certificate Services</strong> to generate an SSL certificate suitable for use in an office environment. This page will show you how to request a certificate from the Microsoft Certificate Services for use in a web server.</p>
<span id="more-81"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<p>To issue a certificate for a web server, make sure you have all of the items below.</p>
<ul>
<li>Domain administrator account</li>
<li>Internet Explorer</li>
<li>Windows server installed with Microsoft Certificate Services. <a href="/enable-ldap-ssl-active-directory/">Learn how to install Microsoft Certificate Services in Windows 2003 Server.</a></li>
</ul>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-welcome.png"><img class="preview" alt="CertSrv Welcome" src="/images/windows-xp/t-certsrv-welcome.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch Internet Explorer and connect to your Certificate Services server. The URL is <em>http://server/certsrv</em>, replace <em>server</em> with the name of your server. Next, click <em>Request a certificate</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqus.png"><img class="preview" alt="CertSrv Request" src="/images/windows-xp/t-certsrv-certrqus.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Request a Certificate</strong> page, click <em>submit an advanced certificate request</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqad.png"><img class="preview" alt="CertSrv Advanced Request" src="/images/windows-xp/t-certsrv-certrqad.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Advanced Certificate Request</strong> page, click <em>Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file or submit a renewal request by using a base-64-encoded PKCS#7 file</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqxt.png"><img class="preview" alt="CertSrv Submit Request" src="/images/windows-xp/t-certsrv-certrqxt.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the <strong>Submit a Certificate Request or Renewal Request</strong> page, paste the content of the request file into the <em>Base-64-encoded certificate request</em> box. Select <em>Web Server</em> in the <em>Certificate Template</em> and click <em>Submit</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certfnsh.png"><img class="preview" alt="CertSrv Finish" src="/images/windows-xp/t-certsrv-certfnsh.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In the <strong>Certificate Issued</strong> page, select <em>Base 64 encoded</em> and click <em>Download certificate</em>.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Export SSL Certificate in Windows Server 2003</title>
		<link>http://www.linuxmail.info/export-ssl-certificate-windows-2003/</link>
		<comments>http://www.linuxmail.info/export-ssl-certificate-windows-2003/#comments</comments>
		<pubDate>Mon, 19 May 2008 15:25:32 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/export-ssl-certificate-windows-2003/</guid>
		<description><![CDATA[Shows how to export an SSL certificate from an SSL enabled Windows Server 2003 to use the LDAP API over SSL.]]></description>
			<content:encoded><![CDATA[<p>To communicate with the Active Directory server over the Secure Sockets Layer (SSL), you need an SSL enabled server and an SSL certificate for the client. SSL communication is required to programmatically change the Active Directory password.</p>
<span id="more-75"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<p>This article will show you how to export an SSL certificate from an SSL enabled Windows Server 2003 to use the LDAP API over SSL. If you have not yet configured SSL, see <a href="/enable-ldap-ssl-active-directory/">Enable LDAP SSL with Active Directory</a>.</p>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-shortcut.png"><img class="preview" alt="Certificate Authority shortcut" src="/images/windows-2003/t-certificate-authority-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Start</em>, select <em>Administrative Tools</em> and click <em>Certification Authority</em>. This will launch the <strong>Certification Authority</strong> application.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-select.png"><img class="preview" alt="Certificate Authority select" src="/images/windows-2003/t-certificate-authority-select.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select a certification authority, press right click and click <em>Properties</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-properties.png"><img class="preview" alt="Certificate Authority Properties" src="/images/windows-2003/t-certificate-authority-properties.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Properties</strong> window, click the <em>View Certificate</em> button.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-certificate.png"><img class="preview" alt="Certificate Authority Certificate" src="/images/windows-2003/t-certificate-authority-certificate.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the <strong>Certificate</strong> window, click the <em>Details</em> tab and click the <em>Copy to File</em> button.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-1.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click <em>Next</em> in the <strong>Certificate Export Wizard</strong> window.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-2.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Select <em>Base-64 encoded X.509</em> and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-3.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Specify the path and file name of the certificate and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>8. Finally, click <em>Finish</em> to export the certificate.</div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/export-ssl-certificate-windows-2003/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enable LDAP SSL with Active Directory in Windows 2003</title>
		<link>http://www.linuxmail.info/enable-ldap-ssl-active-directory/</link>
		<comments>http://www.linuxmail.info/enable-ldap-ssl-active-directory/#comments</comments>
		<pubDate>Mon, 19 May 2008 15:22:36 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[SSL/TLS]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/enable-ldap-ssl-active-directory/</guid>
		<description><![CDATA[This article will show you how to install the Certificate Services in Windows Server 2003 to enable LDAP SSL in Active Directory.]]></description>
			<content:encoded><![CDATA[<p>Enabling SSL in Active Directory allows clients to communicate securely with AD servers. This is also required to allow a user&#8217;s Active Directory password to be changed programmatically using LDAP.</p>
<span id="more-76"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<p>This article will show you how to install the <strong>Certificate Services</strong> in Windows 2003 to enable LDAP SSL in Active Directory.</p>
<p><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Before beginning, make sure the Internet Information Server (IIS) is installed in your server.</p>
<h2>Installing the Certificate Services</h2>
<div class="clearfix steps"><a href="/images/windows-2003/add-remove-program-shortcut.png"><img class="preview" alt="Add or Remove Programs Shortcut" src="/images/windows-2003/t-add-remove-program-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Start</em>, select <em>Control Panel</em> and click <em>Add or Remove Programs</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/windows-component-wizard.png"><img class="preview" alt="Windows Components" src="/images/windows-2003/t-windows-component-wizard.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Add or Remove Programs</strong> window, click <em>Add/Remove Windows Components</em>, check the <em>Certificate Services</em> and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/select-ca-type.png"><img class="preview" alt="CA Type" src="/images/windows-2003/t-select-ca-type.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Next</em> in the <em>CA Type</em> page.</div>
<div class="clearfix steps"><a href="/images/windows-2003/ca-identifying-information.png"><img class="preview" alt="CA Identifying Information" src="/images/windows-2003/t-ca-identifying-information.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Fill up the <em>Common name for this CA</em> and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-database-settings.png"><img class="preview" alt="Certificate Database Settings" src="/images/windows-2003/t-certificate-database-settings.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click <em>Next</em> in the <em>Certificate Database Settings</em> page.</div>
<div class="clearfix steps"><a href="/images/windows-2003/ca-installing.png"><img class="preview" alt="Configuring Components" src="/images/windows-2003/t-ca-installing.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. The Certificate Services will now be installed.</div>
<div class="clearfix steps"><a href="/images/windows-2003/ca-finished.png"><img class="preview" alt="Windows Components Wizard Finished" src="/images/windows-2003/t-ca-finished.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Click <em>Finish</em> and restart your server.</div>
<h2>Configuring Automatic Certificate Request for Domain Controllers</h2>
<div class="clearfix steps"><a href="/images/windows-2003/dc-security-policy-shortcut.png"><img class="preview" alt="Domain Controller Security Policy Shortcut" src="/images/windows-2003/t-dc-security-policy-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Start</em>, select <em>Administrative Tools</em> and click <em>Domain Controller Security Policy</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/dc-sec-pol-pkp.png"><img class="preview" alt="Default Domain Controller Security Settings" src="/images/windows-2003/t-dc-sec-pol-pkp.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Default Domain Controller Security Settings</strong> window, click the <em>Public Key Policies</em> folder.</div>
<div class="clearfix steps"><a href="/images/windows-2003/dc-sec-pol-pkp-2.png"><img class="preview" alt="Default Domain Controller Security Settings" src="/images/windows-2003/t-dc-sec-pol-pkp-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Right click <em>Automatic Certificate Request Settings</em>, select <em>New</em> and click <em>Automatic Certificate Request</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/acr-setup-wizard.png"><img class="preview" alt="Automatic Certificate Request Setup Wizard" src="/images/windows-2003/t-acr-setup-wizard.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click <em>Next</em> in the <strong>Automatic Certificate Request Setup Wizard</strong>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/acr-setup-wizard-ct.png"><img class="preview" alt="Automatic Certificate Request Setup Wizard Certificate Template" src="/images/windows-2003/t-acr-setup-wizard-ct.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Select <em>Domain Controller</em> in the <strong>Certificate Template</strong> page and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/acr-setup-wizard-finish.png"><img class="preview" alt="Automatic Certificate Request Setup Wizard Finish" src="/images/windows-2003/t-acr-setup-wizard-finish.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Click <em>Finish</em> and reboot your server.</div>
<h2 id="check-certificate">Check for Issued Certificate</h2>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-shortcut.png"><img class="preview" alt="Certificate Authority shortcut" src="/images/windows-2003/t-certificate-authority-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Start</em>, select <em>Administrative Tools</em> and click <em>Certification Authority</em>. This will launch the <strong>Certification Authority</strong> application.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-issued-certs.png"><img class="preview" alt="Certificate Authority" src="/images/windows-2003/t-certificate-authority-issued-certs.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In <strong>Certification Authority</strong>, click the <em>+</em> sign and check the <em>Issued Certificates</em> folder if your server has been issued a certificate.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure your server has been issued a certificate, otherwise SSL communication will not work.</div>
<h2>Related Pages</h2>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="Export SSL Certificate" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/export-ssl-certificate-windows-2003/">How to Export an SSL Certificate in Windows Server 2003.</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/enable-ldap-ssl-active-directory/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

