且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用 PHP OAuth 扩展使用已知 CA 证书对对等证书进行身份验证

更新时间:2021-09-01 08:32:20

OAuth 扩展使用 curl 发出请求.默认情况下,CURL 通常会验证 SSL 证书以查看其是否有效并由接受的 CA 颁发.为此,curl 使用一组捆绑的 CA 证书.

The OAuth extension uses curl to make the request. By default CURL will generally verify the SSL certificate to see if its valid an issued by an accepted CA. To do this, curl uses a bundled set of CA certificates.

您可以禁用 SSL 检查 ($oauth->disableSSLChecks()).或者确保您拥有当前版本的 curl.有关 curl 认证验证的更多信息.

You can either disable the SSL checks ($oauth->disableSSLChecks()). Or ensure that you have a current version of curl. More information on curl certification verification.