Paypal IPN verify call fails - "certificate verify failed (unable to get local issuer certificate)"

erikrothoff
New Community Member

Getting the following SSL error when calling the ipn_verify method in the Ruby API. It seems that the included certificate is deprecated? Where can we find the correct certificate?

 

SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
 

Sample code:

 

@api = PayPal::SDK::Merchant.new
if @api.ipn_valid?(request.raw_post) # Crash on this line
  # do stuff
end

 

We haven't change anything and are using the most recent libraries.

 

https://github.com/paypal/PayPal-Ruby-SDK/issues/394

 

https://developer.paypal.com/docs/api/info-security-guidelines/#discontinue-use-of-the-verisign-g2-r...

 

Currently our IPN functions are not working so is getting desperate.

Login to Me Too
1 REPLY 1

jpppcsi
New Community Member

Hi PayPal. We're using the Ruby SDK Core gem and it's failing on the IPN verification with this error. Are you working on a fix? Thanks.

 

https://github.com/paypal/sdk-core-ruby

https://github.com/paypal/PayPal-Ruby-SDK/issues/394

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.