user525717
user525717

Reputation: 1652

Activemerchant SSL_connect returned=1 errno=0 state=SSLv3

I'm getting this error when creating new Paypal notification with active merchant

class PaymentNotificationsController < ApplicationController
  include ActiveMerchant::Billing::Integrations

  protect_from_forgery except: :create

  def create
    notify = Paypal::Notification.new(request.raw_post)

A OpenSSL::SSL::SSLError occurred in payment_notifications#create: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /home/user/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/net/http.rb:918:in `connect'

Any suggestions?

Upvotes: 0

Views: 414

Answers (1)

toddmetheny
toddmetheny

Reputation: 4443

Couple things:

  1. make sure your certificates are up to date on your machine.

  2. this has gotten me around this error before: https://github.com/stevegraham/certified

Good luck. Hope this helps.

Upvotes: 1

Related Questions