title: Rails Devise in Ubuntu - SSL error "unknown protocol"
body: <p>I was checking this post: <a href="https://stackoverflow.com/questions/8186584/how-do-i-set-up-email-confirmation-with-devise">How do I set up email confirmation with Devise?</a></p>
  
  <p>In hope to test email confirmation using mailcatcher. Unfortunately, I got this error, and I searched for several hours without being able to fix it.</p>
  
  <blockquote>
    <p>SSL_connect returned=1 errno=0 state=unknown state: unknown protocol</p>
  </blockquote>
  
  <p>Apparently, it is a Ubuntu bug: <a href="https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371" rel="nofollow noreferrer">https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371</a></p>
  
  <p>Also, I tried this approach, creating mail_patch.rb: <a href="http://www.tagwith.com/question_1864741_opensslsslsslerror-in-devise/" rel="nofollow noreferrer">http://www.tagwith.com/question_1864741_opensslsslsslerror-in-devise/</a></p>
  
  <p>My fear is that, if I disable mail sending errors (ignore them for now, as I'm on development mode), once I change to production (of course I wouldn't use mailcatcher), I would still not be able to send e-mails.</p>