Pedro Lobito
Pedro Lobito

Reputation: 98921

Paypal IPN: certificate verify failed

Since yesterday I'm unable to receive paypal ipn notifications. I've check the log file and the error is:

[24-Mar-2015 13:48:44] cURL error: [60] SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Any thoughts ?

Upvotes: 1

Views: 3477

Answers (2)

YoMan78
YoMan78

Reputation: 1307

I've fixed it by updating root certificates in Ubuntu by running sudo update-ca-certificates

Upvotes: 1

Pedro Lobito
Pedro Lobito

Reputation: 98921

It seems the certificate wasn't valid anymore.

I followed the code comments on the paypal ipn listener sample and downloaded a new certificate from http://curl.haxx.se/docs/caextract.html (HTTPS from github: ca-bundle.crt) and replaced the old one. Problem solved.

I hope it helps others.

Upvotes: 6

Related Questions