<?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: Connecting to MySQL using SSL encryption in Ruby on Rails</title>
	<atom:link href="http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/</link>
	<description>Late nights eventually pay off</description>
	<lastBuildDate>Wed, 08 Feb 2012 19:15:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Amit</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-3752</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Wed, 28 Dec 2011 08:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-3752</guid>
		<description>Thanks</description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin S</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-3697</link>
		<dc:creator>Justin S</dc:creator>
		<pubDate>Sun, 11 Sep 2011 06:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-3697</guid>
		<description>Great tutorial! I&#039;m running to a problem though, when I try to put sslca, sslkey, and sslcert variables into my database.yml file. Passenger phusion throws the following error when I reload the page after restarting apache:

syntax error on line 53, col 7: ` sslca: /home/jsarma/rapps/prod/db/ssl/ca-cert.pem&#039;

I&#039;m using rails 2.3.8, with passenger 3.0.7 and apache 2.2. I know I&#039;ve set up ssl right because the mysql client login works fine with ssl. 

The error suggests to me that I need to install some extension so the ssl variables will be recognized in rails. But this doesn&#039;t make sense, because I already have ssl working for client logins. Now I&#039;m trying to get it working for communication between the web server and the DB. I&#039;m using a different web server self signed certificate that is not in the apache vhost config. Does the web cert specified in database.yml have to be in the apache config?

I&#039;d really appreciate some advice on this.

Thanks</description>
		<content:encoded><![CDATA[<p>Great tutorial! I&#8217;m running to a problem though, when I try to put sslca, sslkey, and sslcert variables into my database.yml file. Passenger phusion throws the following error when I reload the page after restarting apache:</p>
<p>syntax error on line 53, col 7: ` sslca: /home/jsarma/rapps/prod/db/ssl/ca-cert.pem&#8217;</p>
<p>I&#8217;m using rails 2.3.8, with passenger 3.0.7 and apache 2.2. I know I&#8217;ve set up ssl right because the mysql client login works fine with ssl. </p>
<p>The error suggests to me that I need to install some extension so the ssl variables will be recognized in rails. But this doesn&#8217;t make sense, because I already have ssl working for client logins. Now I&#8217;m trying to get it working for communication between the web server and the DB. I&#8217;m using a different web server self signed certificate that is not in the apache vhost config. Does the web cert specified in database.yml have to be in the apache config?</p>
<p>I&#8217;d really appreciate some advice on this.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Schulte</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-3634</link>
		<dc:creator>Chris Schulte</dc:creator>
		<pubDate>Wed, 23 Mar 2011 17:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-3634</guid>
		<description>Just a heads up that the ssl-ca patch is officially part of Rails, so there&#039;s no need to do the client key &amp; certificate (just include the ssl-ca parameter).

I&#039;m using 2.3.11, but the patch was submitted in July 2008 so I&#039;m guessing if you&#039;re using anything from 2.2 on you should have the patch.</description>
		<content:encoded><![CDATA[<p>Just a heads up that the ssl-ca patch is officially part of Rails, so there&#8217;s no need to do the client key &amp; certificate (just include the ssl-ca parameter).</p>
<p>I&#8217;m using 2.3.11, but the patch was submitted in July 2008 so I&#8217;m guessing if you&#8217;re using anything from 2.2 on you should have the patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin Pearce</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-3026</link>
		<dc:creator>Gavin Pearce</dc:creator>
		<pubDate>Mon, 01 Feb 2010 13:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-3026</guid>
		<description>Cheers mate - good article!

Theo,

You&#039;re fine if the DB is on the same physical machine - however, it&#039;s a good idea to have a separate DB server that isn&#039;t web accessible. Improves your security somewhat.</description>
		<content:encoded><![CDATA[<p>Cheers mate &#8211; good article!</p>
<p>Theo,</p>
<p>You&#8217;re fine if the DB is on the same physical machine &#8211; however, it&#8217;s a good idea to have a separate DB server that isn&#8217;t web accessible. Improves your security somewhat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2996</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 02 Dec 2009 18:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2996</guid>
		<description>O.K., &#039;REVOKE&#039; exists...never mind.</description>
		<content:encoded><![CDATA[<p>O.K., &#8216;REVOKE&#8217; exists&#8230;never mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2988</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 25 Nov 2009 18:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2988</guid>
		<description>Baby question:  what if a user has already been set up without the requirement that she connect via SSL---how can her access be restricted to SSL?  (I tried the GRANT statement with the restriction, but it seems to be supervened by the initial set-up---Note: I&#039;m extremely newby at this, so  I might be missing something obvious.)</description>
		<content:encoded><![CDATA[<p>Baby question:  what if a user has already been set up without the requirement that she connect via SSL&#8212;how can her access be restricted to SSL?  (I tried the GRANT statement with the restriction, but it seems to be supervened by the initial set-up&#8212;Note: I&#8217;m extremely newby at this, so  I might be missing something obvious.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theo</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2987</link>
		<dc:creator>theo</dc:creator>
		<pubDate>Fri, 20 Nov 2009 21:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2987</guid>
		<description>do you need to use secure connection between webserver and mysql if they are on the same server machine? the site will run on https so transmission to the server will be secure. its just the internal communication i&#039;m not sure of. thanks</description>
		<content:encoded><![CDATA[<p>do you need to use secure connection between webserver and mysql if they are on the same server machine? the site will run on https so transmission to the server will be secure. its just the internal communication i&#8217;m not sure of. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeJ</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2979</link>
		<dc:creator>MikeJ</dc:creator>
		<pubDate>Fri, 23 Oct 2009 17:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2979</guid>
		<description>Apparently the blog software is converting two minus signs into a single minus sign. Let&#039;s try that with code tags:
[code]mysql -ssl-ca[/code] param needs to be [code]mysql -–ssl-ca[code]</description>
		<content:encoded><![CDATA[<p>Apparently the blog software is converting two minus signs into a single minus sign. Let&#8217;s try that with code tags:</p>
<pre class="brush: plain; title: ; notranslate">mysql -ssl-ca</pre>
<p> param needs to be mysql -–ssl-ca</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeJ</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2978</link>
		<dc:creator>MikeJ</dc:creator>
		<pubDate>Fri, 23 Oct 2009 17:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2978</guid>
		<description>Thanks man, saved me a ton of time!

The reason the client needs the CA certificate is simple. The client uses it to verify that the server&#039;s certificate is valid each time it connects.

Minor correction: &quot;mysql -ssl-ca&quot; param needs to be &quot;mysql --ssl-ca&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks man, saved me a ton of time!</p>
<p>The reason the client needs the CA certificate is simple. The client uses it to verify that the server&#8217;s certificate is valid each time it connects.</p>
<p>Minor correction: &#8220;mysql -ssl-ca&#8221; param needs to be &#8220;mysql &#8211;ssl-ca&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ITS Strategy &#38; Architecture &#187; MySQL and SSL</title>
		<link>http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/#comment-2635</link>
		<dc:creator>ITS Strategy &#38; Architecture &#187; MySQL and SSL</dc:creator>
		<pubDate>Fri, 27 Mar 2009 19:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aisleten.com/?p=122#comment-2635</guid>
		<description>[...] http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/" rel="nofollow">http://blog.aisleten.com/2008/05/25/connecting-to-mysql-using-ssl-encryption-in-ruby-on-rails/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

