<?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"
	>

<channel>
	<title>Eric Mason . net</title>
	<atom:link href="http://ericmason.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericmason.net</link>
	<description>The pictures are still here - Look on the right.</description>
	<pubDate>Thu, 01 Jan 2009 18:41:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Happy New Year!</title>
		<link>http://ericmason.net/2009/01/happy-new-year/</link>
		<comments>http://ericmason.net/2009/01/happy-new-year/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 18:41:08 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=84</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ericmason/sets/72157612014761330/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img class="alignnone" src="http://farm4.static.flickr.com/3249/3156184877_b8a2da51be.jpg?v=0" alt="" width="333" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2009/01/happy-new-year/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Christmas Night</title>
		<link>http://ericmason.net/2008/12/christmas-night/</link>
		<comments>http://ericmason.net/2008/12/christmas-night/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 23:45:18 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=82</guid>
		<description><![CDATA[Thanks to Elizabeth and Jimmy and Moises and Cathie for a great party!  Pictures are here.

]]></description>
			<content:encoded><![CDATA[<p>Thanks to Elizabeth and Jimmy and Moises and Cathie for a great party!  <a href="http://www.flickr.com/photos/ericmason/sets/72157611697087530/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');">Pictures are here.</a></p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157611697087530/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img class="alignnone" src="http://farm4.static.flickr.com/3220/3139211452_27c992c6d9.jpg?v=1230335097" alt="" width="333" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-night/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Christmas Day</title>
		<link>http://ericmason.net/2008/12/christmas-day/</link>
		<comments>http://ericmason.net/2008/12/christmas-day/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 23:40:24 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=77</guid>
		<description><![CDATA[Merry Christmas! Pictures are here.





]]></description>
			<content:encoded><![CDATA[<p>Merry Christmas! <a href="http://www.flickr.com/photos/ericmason/sets/72157611634352705/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');">Pictures are here.</a></p>
<div class="mceTemp">
<dl class="wp-caption alignnone" style="width: 343px;">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/ericmason/sets/72157611634352705/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img title="Christmas Day" src="http://farm4.static.flickr.com/3079/3138312409_9eb45e5cf7.jpg?v=0" alt="http://www.flickr.com/photos/ericmason/sets/72157611634352705/" width="333" height="500" /></a></dt>
</dl>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Christmas Tree</title>
		<link>http://ericmason.net/2008/12/christmas-tree/</link>
		<comments>http://ericmason.net/2008/12/christmas-tree/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:44:52 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=74</guid>
		<description><![CDATA[The tree is up!

]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/ericmason/sets/72157610700774026/" onclick="javascript:pageTracker._trackPageview('/outbound/article/flickr.com');">The tree is up!</a></p>
<p><span style="color: #551a8b; text-decoration: underline;"><a href="http://flickr.com/photos/ericmason/sets/72157610700774026/" onclick="javascript:pageTracker._trackPageview('/outbound/article/flickr.com');"><img class="alignnone" title="Christmas Tree" src="http://farm4.static.flickr.com/3173/3106961357_41bb4d4378.jpg?v=0" alt="" width="292" height="500" /></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/christmas-tree/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thanksgiving</title>
		<link>http://ericmason.net/2008/12/thanksgiving/</link>
		<comments>http://ericmason.net/2008/12/thanksgiving/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 16:15:21 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=72</guid>
		<description><![CDATA[Thanksgiving was a lot of fun.  We had 20 people here at our house.  Check out the pictures.

]]></description>
			<content:encoded><![CDATA[<p>Thanksgiving was a lot of fun.  We had 20 people here at our house.  <a href="http://flickr.com/photos/ericmason/sets/72157610601998081/" onclick="javascript:pageTracker._trackPageview('/outbound/article/flickr.com');">Check out the pictures.</a></p>
<p><a href="http://flickr.com/photos/ericmason/sets/72157610601998081/" onclick="javascript:pageTracker._trackPageview('/outbound/article/flickr.com');"><img class="alignnone" title="Pumpkin Pie" src="http://farm4.static.flickr.com/3288/3079456747_d4904c20f5.jpg?v=0" alt="" width="467" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/thanksgiving/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fall Photos</title>
		<link>http://ericmason.net/2008/12/fall-photos/</link>
		<comments>http://ericmason.net/2008/12/fall-photos/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 16:13:34 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=70</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://flickr.com/photos/ericmason/sets/72157610593461501/" onclick="javascript:pageTracker._trackPageview('/outbound/article/flickr.com');"><img class="alignnone" title="Jen Pumpkin" src="http://farm4.static.flickr.com/3225/3078715654_8f31f2fb8e.jpg?v=0" alt="" width="375" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/12/fall-photos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Church Picnic</title>
		<link>http://ericmason.net/2008/10/church-picnic/</link>
		<comments>http://ericmason.net/2008/10/church-picnic/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 12:14:13 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=68</guid>
		<description><![CDATA[First Baptist Church of Pompano Beach had our 2008 picnic yesterday at Quiet Waters Park in Deerfield Beach.  Check out the pictures.

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fbcpompano.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.fbcpompano.org');">First Baptist Church of Pompano Beach</a> had our 2008 picnic yesterday at Quiet Waters Park in Deerfield Beach.  <a href="http://www.flickr.com/photos/ericmason/sets/72157608416045765/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');">Check out the pictures.</a></p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157608416045765/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img class="alignnone" title="Picnic" src="http://farm4.static.flickr.com/3293/2977048856_8a559f9334.jpg?v=0" alt="" width="500" height="333" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/10/church-picnic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dan and Lauren&#8217;s Wedding</title>
		<link>http://ericmason.net/2008/10/dan-and-laurens-wedding/</link>
		<comments>http://ericmason.net/2008/10/dan-and-laurens-wedding/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 00:33:30 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=63</guid>
		<description><![CDATA[Congratulations to our good friends Dan Cohen and Lauren Taub!  They were married October 12 in Lincon, Massachusetts.

]]></description>
			<content:encoded><![CDATA[<p>Congratulations to our good friends Dan Cohen and Lauren Taub!  They were married October 12 in Lincon, Massachusetts.</p>
<p><a href="http://www.flickr.com/photos/ericmason/sets/72157608040869485/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img class="alignnone" title="Lauren" src="http://farm4.static.flickr.com/3006/2943261118_81abb9662b.jpg?v=0" alt="" width="500" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/10/dan-and-laurens-wedding/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SOAP4R and SSL: unable to get local issuer certificate</title>
		<link>http://ericmason.net/2008/10/soap4r-and-ssl-unable-to-get-local-issuer-certificate/</link>
		<comments>http://ericmason.net/2008/10/soap4r-and-ssl-unable-to-get-local-issuer-certificate/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:16:40 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[sysadmin]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[soap]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=55</guid>
		<description><![CDATA[After enabling SSL on a couple of apps, I got an email from one of my cron jobs telling me my SOAP API was no longer working.  (This is why you always want to have an entry in /etc/aliases forwarding root&#8217;s email to an account you will read)
The error message was &#8220;unable to get local [...]]]></description>
			<content:encoded><![CDATA[<p>After enabling SSL on a couple of apps, I got an email from one of my cron jobs telling me my SOAP API was no longer working.  (This is why you always want to have an entry in /etc/aliases forwarding root&#8217;s email to an account you will read)</p>
<p>The error message was &#8220;unable to get local issuer certificate.&#8221;  I thought, no big deal, there must be an easy way to get SOAP4R to find all the root CA certificates.  Unfortunately it took a while searching Google to find the right answer, so I&#8217;m posting it here to make it easier for the next person (which just might be me next week).</p>
<p><span id="more-55"></span></p>
<p>It turns out SOAP4R will read a file called <strong>&#8220;soap/property&#8221;</strong> in your ruby library path (which can usually be the directory your app is in).  You can place certain configuration options in this file to control how SOAP4R behaves.  In this case, I needed to add<br />
<pre><code>
client.protocol.http.ssl_config.ca_file=/etc/ssl/certs/ca-certificates.crt
</code></pre></p>
<p>This fixed the &#8220;unable to get local issuer certificate&#8221; error right away.</p>
<p>There was another problem though; it was complaining about the hostname not matching the certificate.  Since I&#8217;m using a wildcard certificate, I assume this means OpenSSL doesn&#8217;t respect wildcard certificates.  I grudgingly added this to soap/property file<br />
<pre><code>
client.protocol.http.ssl_config.verify_mode=OpenSSL::SSL::VERIFY_NONE
</code></pre><br />
And it&#8217;s fine now.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/10/soap4r-and-ssl-unable-to-get-local-issuer-certificate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple virtual hosts using SSL on the same IP and Port</title>
		<link>http://ericmason.net/2008/09/multiple-virtual-hosts-using-ssl-on-the-same-ip-and-port/</link>
		<comments>http://ericmason.net/2008/09/multiple-virtual-hosts-using-ssl-on-the-same-ip-and-port/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 03:08:12 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
		<category><![CDATA[sysadmin]]></category>

		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=50</guid>
		<description><![CDATA[Tonight I decided to set up SSL on two internal web apps I&#8217;ve been running for a while.  I have a wildcard certificate *.stockpr.com just for this purpose.  Each app was originally running on a separate hostname on a single IP address on port 80.  
After I started setting up SSL, I [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I decided to set up SSL on two internal web apps I&#8217;ve been running for a while.  I have a wildcard certificate *.stockpr.com just for this purpose.  Each app was originally running on a separate hostname on a single IP address on port 80.  </p>
<p>After I started setting up SSL, I realized that I might run into trouble because <a href="http://httpd.apache.org/docs/1.3/vhosts/name-based.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/httpd.apache.org');">Apache has always said</a> you can&#8217;t combine NameVirtualHost and SSL.  The reason for this is that the SSL session is established before the HTTP headers are sent.  Since NameVirtualHost relies on the HTTP Host header, which is unavailable since it hasn&#8217;t yet been sent at the time SSL is being negotiated, Apache can only use a single SSL cert per combination of IP and port.<br />
<span id="more-50"></span><br />
So my thought was this should technically not be a problem since both of my hostnames are under the same domain and I have that fancy wildcard certificate for <strong>both</strong> virtual hosts.  I thought Apache just might be cool enough to send the first certificate it finds, but still respect the HTTP Host header and send the request to the right virtual host.  </p>
<p>Guess what&#8230; Apache is indeed that cool.  I now have x.stockpr.com and y.stockpr.com on the same IP and port with two different virtual hosts, sharing the same certificate.  </p>
<p>Won&#8217;t exactly revolutionize web hosting, but it definitely made my <del datetime="2008-10-01T02:54:20+00:00">day</del> night go a little easier.  (Of course if you read my <a href="http://ericmason.net/2008/09/amazon-ec2-and-4gb-seg-fixup/" >last post</a>, something else more than made up for it)</p>
]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2008/09/multiple-virtual-hosts-using-ssl-on-the-same-ip-and-port/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
