<?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>JasonSamuel.com &#187; OpenSSL</title>
	<atom:link href="http://www.jasonsamuel.com/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonsamuel.com</link>
	<description>Cool stuff I see in the IT world</description>
	<lastBuildDate>Sat, 17 Jul 2010 21:35:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>A quick way to troubleshoot SSL chain issues using OpenSSL</title>
		<link>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl</link>
		<comments>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 17:07:48 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[ssl certificates]]></category>
		<category><![CDATA[ssl chain]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=340</guid>
		<description><![CDATA[You can use OpenSSL and run this command: openssl.exe s_client -connect www.mysite.com:443 which will use a generic SSL/TLS client to connect to your site and give you a ton of diagnostic info.  You can see your entire SSL cert chain, the SSL handshake, SSL session info, etc.  Here&#8217;s a full list of switches you can [...]<p><a href="http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/">A quick way to troubleshoot SSL chain issues using OpenSSL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>You can use OpenSSL and run this command:</p>
<blockquote><p>openssl.exe s_client -connect www.mysite.com:443</p></blockquote>
<p>which will use a generic SSL/TLS client to connect to your site and give you a ton of diagnostic info.  You can see your entire SSL cert chain, the SSL handshake, SSL session info, etc.  Here&#8217;s a full list of switches you can use with it:  <a href="http://www.openssl.org/docs/apps/s_client.html">http://www.openssl.org/docs/apps/s_client.html</a></p>
<p>And here&#8217;s a great online tool to graphically verify your SSL chain is intact:  <a href="http://www.sslshopper.com/ssl-checker.html">http://www.sslshopper.com/ssl-checker.html</a></p>
<p><a href="http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/">A quick way to troubleshoot SSL chain issues using OpenSSL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an SSL cert to a .pem for installation on Citrix and Cisco appliances</title>
		<link>http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances</link>
		<comments>http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 16:35:58 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Cisco IronPort]]></category>
		<category><![CDATA[Citrix NetScaler]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[.cer]]></category>
		<category><![CDATA[.pem]]></category>
		<category><![CDATA[.pfx]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[pkcs12]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[SSL certificate]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=302</guid>
		<description><![CDATA[Often times you might have to add an SSL cert to a Cisco or Citrix appliance but it only accepts the SSL cert and private key in a certain format.  Your CA (certificate authority) will issue the SSL cert to you as a .crt.  From there, you need to package the cert with the private [...]<p><a href="http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/">How to convert an SSL cert to a .pem for installation on Citrix and Cisco appliances</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/2.gif"></a>Often times you might have to add an SSL cert to a Cisco or Citrix appliance but it only accepts the SSL cert and private key in a certain format.  Your CA (certificate authority) will issue the SSL cert to you as a .crt.  From there, you need to package the cert with the private key and in the format your appliance requires.  There are different ways to do this and one easy way I like is using IIS and OpenSSL which is a free open source tool and can be downloaded here:  <a href="http://www.openssl.org" target="_blank">http://www.openssl.org</a></p>
<p>1. Create a temporary site in IIS and generate a CSR.  Make sure the CN (common name) you enter matches whatever appliance you are trying to generate it for exmp:  wireless.mycompany.com</p>
<p>2.  Submit the CSR to your CA such as Verisign, GoDaddy, Network Solutions, etc. and wait for them to validate and issue your cert.</p>
<p>3. Get the .crt from the CA once they issue it and convert it to .cer.  Just open the .crt by double clicking on it and and save it as .cer using the export wizard.  This is necessary since IIS does not accept .crt.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/1.gif"><img class="alignnone size-medium wp-image-307" title="1" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/1-254x300.gif" alt="" width="254" height="300" /></a> <a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/2.gif"><img title="2" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/2-254x300.gif" alt="" width="254" height="300" /></a><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/3.gif"> <img class="alignnone size-medium wp-image-310" title="3" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/3-300x234.gif" alt="" width="300" height="234" /></a> <a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/4.gif"><img class="alignnone size-medium wp-image-311" title="4" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/4-300x234.gif" alt="" width="300" height="234" /></a></p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/5.gif"><img class="alignnone size-medium wp-image-312" title="5" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/5-300x234.gif" alt="" width="300" height="234" /></a> <a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/6.gif"><img class="alignnone size-medium wp-image-313" title="6" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/6-300x234.gif" alt="" width="300" height="234" /></a></p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/7.gif"><img class="alignnone size-medium wp-image-314" title="7" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/7-300x234.gif" alt="" width="300" height="234" /></a></p>
<p>4. Install the .cer in IIS using the Web Server Certificate Wizard where you originally generated the CSR.  Just process the pending request to install it.</p>
<p>5. View the cert in IIS and export it with the private key in pkcs12 (.pfx) format.  Just set the password as “password” since you will be deleting it after conversion is complete later.</p>
<p>6. Go to the directory where OpenSSL.exe is and type in the following to convert the .pfx to a .pem</p>
<blockquote><p><strong>openssl pkcs12 -in nameofcert.pfx -out nameofcert.pem</strong></p></blockquote>
<p>7. Type the “password” when prompted for the pass phrase.</p>
<p>8. Install the .pem on the appliance and it should work</p>
<p><strong><span style="color: #ff0000;">IMPORTANT NOTE:</span></strong></p>
<p>If you are doing it for some appliances like a Cisco IronPort, you need to add the nodes switch when creating the .pem:</p>
<blockquote><p><strong>openssl pkcs12 -in nameofcert.pfx -out nameofcert.pem –nodes</strong></p></blockquote>
<p>The –nodes switch ensures that the key inside the .pem is left unencrypted.  If you attempt to install a .pem created without the -nodes switch, the appliance will take the cert but will not accept the private key since it cannot read it in an encrypted state.</p>
<p><a href="http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/">How to convert an SSL cert to a .pem for installation on Citrix and Cisco appliances</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: www.jasonsamuel.com @ 2010-07-31 20:06:07 -->