【发布时间】:2013-12-23 14:49:37
【问题描述】:
我正在使用一个名为 HybridAuth 的社交身份验证插件。在我的共享服务器上使用它时,但现在我已经升级到运行 IIS 7 的 VPS。
我读到我需要使用 SSL 安装 cURL,并且在运行 phpinfo() 时,一切都显示配置正确。
但是,我在尝试连接到社交网络时遇到了错误:
Invalid or no certificate authority found, using bundled information
Error: Authentification failed! Twitter returned an error. 401 Unauthorized.
我该如何解决这个问题?
【问题讨论】:
-
curl 默认不再包含任何 CA 证书,因此它无法验证任何 ssl 证书是否有效,除非您为您尝试验证的特定证书提供公共 CA 资料。跨度>
标签: php curl ssl social-networking hybridauth