[英]Paypal IPN: certificate verify failed
Since yesterday I'm unable to receive paypal ipn notifications.从昨天开始,我无法收到 paypal ipn 通知。 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 ?有什么想法吗 ?
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.我按照paypal ipn listener示例的代码注释,从http://curl.haxx.se/docs/caextract.html (来自github的HTTPS:ca-bundle.crt )下载了一个新证书并替换了旧证书。 Problem solved.
问题解决了。
I hope it helps others.我希望它可以帮助其他人。
我已经通过运行 sudo update-ca-certificates 在 Ubuntu 中更新根证书来修复它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.