title: OpenSSL::SSL::SSLError .....certificate verify failed?
body: <p>I just upgraded to Rails <code>3.2.8</code> and updated all of my gems. I wanted to test my website so I started at the sign up but when I hit the join button it gives me the error:</p>
  
  <pre><code>OpenSSL::SSL::SSLError in RegistrationsController#create
  
  SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
  
  app/models/user.rb:28:in `send_welcome_email'
  </code></pre>
  
  <p>I'm using Devise <code>2.1.2</code> with and this is my User model:</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    attr_accessible :email, :password, :remember_me
    attr_accessor :accessible # something for devise i think
    devise :database_authenticatable, :registerable, 
    :recoverable, :rememberable, :trackable, 
    :validatable, :email_regexp =&gt;  /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i
  
    after_create :send_welcome_email
  
    private
  
    def send_welcome_email
      UserMailer.welcome_email(self).deliver
    end
  end
  </code></pre>
  
  <p>I'm guessing it has something to do with my email settings in my <strong>development.rb</strong>.</p>
  
  <pre><code>require 'tlsmail'
    Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
    ActionMailer::Base.delivery_method = :smtp
    ActionMailer::Base.perform_deliveries = true
    ActionMailer::Base.raise_delivery_errors = true
    ActionMailer::Base.smtp_settings = {
      :enable_starttls_auto =&gt; true,
      :address            =&gt; 'smtp.gmail.com',
      :port               =&gt; 587,
      :tls                =&gt; true,
      :domain             =&gt; 'app.com',
      :authentication     =&gt; :plain,
      :user_name          =&gt; 'support@app.com',
      :password           =&gt; '******'
    }
    config.action_mailer.default_url_options = { :host =&gt; 'localhost:3000' }
  </code></pre>
  
  <p>How can I correct this issue? I just started to get this when I went to <code>3.2.8</code>. I'm on Windows 7 if it helps.</p>