<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Verified HTTPS in Ruby</title>
	<atom:link href="http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/</link>
	<description>lest I forget</description>
	<lastBuildDate>Mon, 21 May 2018 21:42:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: JJB Code Blog - How to securely acquire the Mozilla root certificate bundle for use with curl, Net::HTTP, etc.</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-42905</link>
		<dc:creator>JJB Code Blog - How to securely acquire the Mozilla root certificate bundle for use with curl, Net::HTTP, etc.</dc:creator>
		<pubDate>Thu, 05 Jan 2012 07:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-42905</guid>
		<description><![CDATA[[...] can manually install the root certs, but first you have to get them from somewhere. This article gives a nice description of how to do that. The source of the cert files it points to is hosted [...]]]></description>
		<content:encoded><![CDATA[<p>[...] can manually install the root certs, but first you have to get them from somewhere. This article gives a nice description of how to do that. The source of the cert files it points to is hosted [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-22272</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Sat, 28 May 2011 08:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-22272</guid>
		<description><![CDATA[Hey John, that&#039;s really nice!  I&#039;ll add a note to the original post.]]></description>
		<content:encoded><![CDATA[<p>Hey John, that&#8217;s really nice!  I&#8217;ll add a note to the original post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-22252</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 28 May 2011 02:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-22252</guid>
		<description><![CDATA[Your blog post helped/inspired me to come up with this, which is a more secure way to acquire the cert list:

https://gist.github.com/996292

And then this, which sets ruby to use the cert list library-wide:

https://gist.github.com/996510

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Your blog post helped/inspired me to come up with this, which is a more secure way to acquire the cert list:</p>
<p><a href="https://gist.github.com/996292"  onclick="pageTracker._trackPageview('/outgoing/gist.github.com/996292?referer=');">https://gist.github.com/996292</a></p>
<p>And then this, which sets ruby to use the cert list library-wide:</p>
<p><a href="https://gist.github.com/996510"  onclick="pageTracker._trackPageview('/outgoing/gist.github.com/996510?referer=');">https://gist.github.com/996510</a></p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flavio Duarte</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-590</link>
		<dc:creator>Flavio Duarte</dc:creator>
		<pubDate>Mon, 13 Apr 2009 11:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-590</guid>
		<description><![CDATA[@David

ok, thanks]]></description>
		<content:encoded><![CDATA[<p>@David</p>
<p>ok, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-583</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Fri, 10 Apr 2009 15:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-583</guid>
		<description><![CDATA[@Flavio: No, I haven&#039;t used this with SOAP.  Actually, I rarely use Soap4r, but instead I create an XML request and parse the XML response using something like &lt;a href=&quot;http://github.com/jnunemaker/happymapper&quot;&gt;HappyMapper&lt;/a&gt;.  It doesn&#039;t really scale, but sometimes it&#039;s good enough.]]></description>
		<content:encoded><![CDATA[<p>@Flavio: No, I haven&#8217;t used this with SOAP.  Actually, I rarely use Soap4r, but instead I create an XML request and parse the XML response using something like <a href="http://github.com/jnunemaker/happymapper" onclick="pageTracker._trackPageview('/outgoing/github.com/jnunemaker/happymapper?referer=');">HappyMapper</a>.  It doesn&#8217;t really scale, but sometimes it&#8217;s good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flavio Duarte</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-581</link>
		<dc:creator>Flavio Duarte</dc:creator>
		<pubDate>Thu, 09 Apr 2009 18:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-581</guid>
		<description><![CDATA[Hello,
Have You an example of request soap with certified authentication?

thanks]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
Have You an example of request soap with certified authentication?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grosser</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-90</link>
		<dc:creator>grosser</dc:creator>
		<pubDate>Wed, 28 Jan 2009 09:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-90</guid>
		<description><![CDATA[thanks for the writeup, just saved me lot of time :)]]></description>
		<content:encoded><![CDATA[<p>thanks for the writeup, just saved me lot of time <img src='http://notetoself.vrensk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thibaut Barrère</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-29</link>
		<dc:creator>Thibaut Barrère</dc:creator>
		<pubDate>Wed, 12 Nov 2008 17:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-29</guid>
		<description><![CDATA[When it&#039;s too tricky and if possible, I switch to curl or wget inside a queue. But thanks for posting these tips!]]></description>
		<content:encoded><![CDATA[<p>When it&#8217;s too tricky and if possible, I switch to curl or wget inside a queue. But thanks for posting these tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-27</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Thu, 06 Nov 2008 18:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-27</guid>
		<description><![CDATA[@Stephan: your last two comments were caught in the spam filter which I didn&#039;t cull until today.  Sorry, my bad.
I&#039;ll get back to you later; have to run now.]]></description>
		<content:encoded><![CDATA[<p>@Stephan: your last two comments were caught in the spam filter which I didn&#8217;t cull until today.  Sorry, my bad.<br />
I&#8217;ll get back to you later; have to run now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BusinessRx Reading List : Verified HTTPS in Ruby</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-26</link>
		<dc:creator>BusinessRx Reading List : Verified HTTPS in Ruby</dc:creator>
		<pubDate>Tue, 04 Nov 2008 03:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-26</guid>
		<description><![CDATA[[...] thought this would be straight-forward but it turned out to be slightly tricky.  Thankfully I found this post that outlines the basics of setting up HTTPS in Ruby. Most people probably take the first method of [...]]]></description>
		<content:encoded><![CDATA[<p>[...] thought this would be straight-forward but it turned out to be slightly tricky.  Thankfully I found this post that outlines the basics of setting up HTTPS in Ruby. Most people probably take the first method of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-23</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 23:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-23</guid>
		<description><![CDATA[If you look at the tests that come with httpclient, http://raa.ruby-lang.org/project/httpclient/  they run their own test server to get a handle on https security.

Do you think the original code of your blog post verifies the server certificate? The implementation of validate_certificate at http://dev.ctor.org/soap4r/wiki/SslCertificateVerification does this for the case that one already has the file from the CA. 

Here might be another way,

http.cert=OpenSSL::X509::Certificate.new(IO.read(path-to-already-available-cert))


Stephan]]></description>
		<content:encoded><![CDATA[<p>If you look at the tests that come with httpclient, <a href="http://raa.ruby-lang.org/project/httpclient/"  onclick="pageTracker._trackPageview('/outgoing/raa.ruby-lang.org/project/httpclient/?referer=');">http://raa.ruby-lang.org/project/httpclient/</a>  they run their own test server to get a handle on https security.</p>
<p>Do you think the original code of your blog post verifies the server certificate? The implementation of validate_certificate at <a href="http://dev.ctor.org/soap4r/wiki/SslCertificateVerification"  onclick="pageTracker._trackPageview('/outgoing/dev.ctor.org/soap4r/wiki/SslCertificateVerification?referer=');">http://dev.ctor.org/soap4r/wiki/SslCertificateVerification</a> does this for the case that one already has the file from the CA. </p>
<p>Here might be another way,</p>
<p>http.cert=OpenSSL::X509::Certificate.new(IO.read(path-to-already-available-cert))</p>
<p>Stephan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-22</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 22:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-22</guid>
		<description><![CDATA[If you look at the tests that come with httpclient, http://raa.ruby-lang.org/project/httpclient/  they run their own test server to get a handle on https security.

Do you think the original code of your blog post verifies the server certificate. The implementation of validate_certificate at http://dev.ctor.org/soap4r/wiki/SslCertificateVerification does this for the case that one already has the file from the CA.

Stephan]]></description>
		<content:encoded><![CDATA[<p>If you look at the tests that come with httpclient, <a href="http://raa.ruby-lang.org/project/httpclient/"  onclick="pageTracker._trackPageview('/outgoing/raa.ruby-lang.org/project/httpclient/?referer=');">http://raa.ruby-lang.org/project/httpclient/</a>  they run their own test server to get a handle on https security.</p>
<p>Do you think the original code of your blog post verifies the server certificate. The implementation of validate_certificate at <a href="http://dev.ctor.org/soap4r/wiki/SslCertificateVerification"  onclick="pageTracker._trackPageview('/outgoing/dev.ctor.org/soap4r/wiki/SslCertificateVerification?referer=');">http://dev.ctor.org/soap4r/wiki/SslCertificateVerification</a> does this for the case that one already has the file from the CA.</p>
<p>Stephan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-21</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Wed, 22 Oct 2008 22:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-21</guid>
		<description><![CDATA[Good question.  I suppose the best way to find out is to build a nice test suite, but that would require having hosts that respond in the right way (like https://google.com/ and https://www.google.com/, which of course cannot be trusted to behave like they did when I wrote this post).
I have checked out the &lt;a href=&quot;http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/net/http.rb?r1=13504&amp;r2=16878&amp;pathrev=16878&amp;diff_format=h&quot; rel=&quot;nofollow&quot;&gt;diff&lt;/a&gt; and it&#039;s nice and simple and a step in the right direction.]]></description>
		<content:encoded><![CDATA[<p>Good question.  I suppose the best way to find out is to build a nice test suite, but that would require having hosts that respond in the right way (like <a href="https://google.com/" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/google.com/?referer=');">https://google.com/</a> and <a href="https://www.google.com/"  onclick="pageTracker._trackPageview('/outgoing/www.google.com/?referer=');">https://www.google.com/</a>, which of course cannot be trusted to behave like they did when I wrote this post).<br />
I have checked out the <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/net/http.rb?r1=13504&amp;r2=16878&amp;pathrev=16878&amp;diff_format=h"  onclick="pageTracker._trackPageview('/outgoing/svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/net/http.rb?r1=13504_amp_r2=16878_amp_pathrev=16878_amp_diff_format=h&amp;referer=');">diff</a> and it&#8217;s nice and simple and a step in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-20</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-20</guid>
		<description><![CDATA[Yes, I am thinking the same, however I am not sure.

For example, are there earlier Ruby versions that didn&#039;t have this method (then it was added, then it was removed again)?]]></description>
		<content:encoded><![CDATA[<p>Yes, I am thinking the same, however I am not sure.</p>
<p>For example, are there earlier Ruby versions that didn&#8217;t have this method (then it was added, then it was removed again)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-19</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-19</guid>
		<description><![CDATA[Ah! So basically I should be good with
&lt;pre&gt;http.enable_post_connection_check = true if http.responds_to? :enable_post_connection_check&lt;/pre&gt;
if I understand you right?  Many thanks!]]></description>
		<content:encoded><![CDATA[<p>Ah! So basically I should be good with</p>
<pre>http.enable_post_connection_check = true if http.responds_to? :enable_post_connection_check</pre>
<p>if I understand you right?  Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-18</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-18</guid>
		<description><![CDATA[... I forgot ....  the enable_post_connection_check method is removed since the check is performed by default .... one turns it off with  Net::HTTP#verify_mode= OpenSSL::SSL::VERIFY_NONE]]></description>
		<content:encoded><![CDATA[<p>&#8230; I forgot &#8230;.  the enable_post_connection_check method is removed since the check is performed by default &#8230;. one turns it off with  Net::HTTP#verify_mode= OpenSSL::SSL::VERIFY_NONE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-17</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 21:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-17</guid>
		<description><![CDATA[I think &quot;more modern Ruby versions&quot; are more secure. How much more secure, I can&#039;t tell, sorry. I don&#039;t think they include the &quot;CA Root Certificates bundle&quot;.]]></description>
		<content:encoded><![CDATA[<p>I think &#8220;more modern Ruby versions&#8221; are more secure. How much more secure, I can&#8217;t tell, sorry. I don&#8217;t think they include the &#8220;CA Root Certificates bundle&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Vrensk</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-16</link>
		<dc:creator>David Vrensk</dc:creator>
		<pubDate>Wed, 22 Oct 2008 20:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-16</guid>
		<description><![CDATA[@Stephan: Thanks, that is really valuable information, especially since the app where I developed this solution is running on a managed host.  I&#039;ll see if I can find time to work out something for more modern Ruby versions.  If you beat me to it, please tell me!]]></description>
		<content:encoded><![CDATA[<p>@Stephan: Thanks, that is really valuable information, especially since the app where I developed this solution is running on a managed host.  I&#8217;ll see if I can find time to work out something for more modern Ruby versions.  If you beat me to it, please tell me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Wehner</title>
		<link>http://notetoself.vrensk.com/2008/09/verified-https-in-ruby/comment-page-1/#comment-15</link>
		<dc:creator>Stephan Wehner</dc:creator>
		<pubDate>Wed, 22 Oct 2008 20:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://notetoself.vrensk.com/?p=28#comment-15</guid>
		<description><![CDATA[The method &quot;enable_post_connection_check&quot; is not available since 1.8.6 129

Log Message: 	
merge revision(s) 13657:
	* lib/net/http.rb, lib/open-uri.rb: remove
	  Net::HTTP#enable_post_connection_check.  [ruby-dev:31960]


See http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6_129/ChangeLog

Stephan]]></description>
		<content:encoded><![CDATA[<p>The method &#8220;enable_post_connection_check&#8221; is not available since 1.8.6 129</p>
<p>Log Message:<br />
merge revision(s) 13657:<br />
	* lib/net/http.rb, lib/open-uri.rb: remove<br />
	  Net::HTTP#enable_post_connection_check.  [ruby-dev:31960]</p>
<p>See <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6_129/ChangeLog"  onclick="pageTracker._trackPageview('/outgoing/svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6_129/ChangeLog?referer=');">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6_129/ChangeLog</a></p>
<p>Stephan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
