Paypal IPN:证书验证失败


Paypal IPN: certificate verify failed

从昨天起,我无法接收贝宝ipn通知。我检查了日志文件,错误是:

[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

有什么想法吗?

证书似乎不再有效。

我遵循了paypal ipn监听器示例上的代码注释,并从http://curl.haxx.se/docs/caextract.html(github:ca-bundle.crt的HTTPS),并替换了旧的HTTPS。问题解决了。

我希望它能帮助其他人。

我通过运行sudo update ca certificates 在Ubuntu中更新根证书来修复它