<?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>langui.sh &#187; x509</title>
	<atom:link href="http://langui.sh/tag/x509/feed/" rel="self" type="application/rss+xml" />
	<link>http://langui.sh</link>
	<description>Fun hacks, WP plugins, photography, and PKI junk.  Languishing since 2008.</description>
	<lastBuildDate>Sat, 19 May 2012 01:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>r509 v0.6</title>
		<link>http://langui.sh/2012/01/17/r509-v0-6/</link>
		<comments>http://langui.sh/2012/01/17/r509-v0-6/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 20:23:53 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[r509]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[x509]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=1567</guid>
		<description><![CDATA[<a href="http://langui.sh/2012/01/17/r509-v0-6/" title="r509 v0.6"></a>r509 v0.6 is out. There were 39 commits encompassing the following changes from 0.5 to 0.6. * Gemfile updated to set proper versions of supporting gems for doc generation * Fixes to load_yaml in Config * OCSP handling extensively refactored &#8230;<p class="read-more"><a href="http://langui.sh/2012/01/17/r509-v0-6/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2012/01/17/r509-v0-6/" title="r509 v0.6"></a><p><a href="http://r509.org">r509</a> v0.6 is out. There were 39 commits encompassing the following changes from 0.5 to 0.6.</p>
<p>* Gemfile updated to set proper versions of supporting gems for doc generation<br />
* Fixes to load_yaml in Config<br />
* OCSP handling extensively refactored and most of the logic moved into the <a href="https://github.com/reaperhulk/r509-ocsp-responder">r509 OCSP responder</a> project.<br />
* Cert#subject_component no longer improperly upcases elements<br />
* SAN is now supported in self-signed certificates<br />
* Cert#san_names returns an empty array if no san_names exist<br />
* Cert#fingerprint is now an available method<br />
* Cert#subject_names returns a concatenation (de-duped) of CN and SANs<br />
* General refactoring in several areas to improve code quality<br />
* Csr now takes :san_names in constructor instead of :domains. This is more consistent<br />
* Files renamed to lowercase to match Ruby conventions<br />
* Cert#in_validity_range? method added<br />
* Fixed some order dependent tests</p>
<p>The majority of work went into improving the OCSP codebase, which was moved into the r509-ocsp-responder project, but that&#8217;s a subject for another blog entry!</p>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2012/01/17/r509-v0-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Check If A Certificate &amp; Private Key Match</title>
		<link>http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/</link>
		<comments>http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:52:30 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[x509]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=678</guid>
		<description><![CDATA[<a href="http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/" title="Check If A Certificate &amp; Private Key Match"></a>Check if an SSL certificate and private key match in two simple commands. The OpenSSL commands below will require you to replace &#60;file&#62; with your file&#8217;s name. For your SSL certificate:1 openssl x509 -noout -modulus -in &#60;file&#62; &#124; md5sum For &#8230;<p class="read-more"><a href="http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/" title="Check If A Certificate &amp; Private Key Match"></a><p>Check if an SSL certificate and private key match in two simple commands.  The OpenSSL commands below will require you to replace &lt;file&gt; with your file&#8217;s name.</p>
<p>For your SSL certificate:<sup class='footnote'><a href='#fn-678-1' id='fnref-678-1'>1</a></sup></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">openssl x509 <span style="color: #660033;">-noout</span> <span style="color: #660033;">-modulus</span> <span style="color: #660033;">-in</span> <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">|</span> md5sum</pre></div></div>

<p>For your RSA private key:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">openssl rsa <span style="color: #660033;">-noout</span> <span style="color: #660033;">-modulus</span> <span style="color: #660033;">-in</span> <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">|</span> md5sum</pre></div></div>

<p>The output of these commands should be identical.  If it isn&#8217;t, your keys do not match. </p>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-678-1'>The pipe to md5sum is solely to make the output shorter and easier to visually compare <span class='footnotereverse'><a href='#fnref-678-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2009/10/05/check-if-a-certificate-private-key-match/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/

Minified using memcached
Page Caching using memcached
Database Caching 11/13 queries in 0.004 seconds using memcached
Object Caching 516/516 objects using memcached

Served from: langui.sh @ 2012-05-21 14:14:00 -->
