0

I'm using a social authentication plugin called HybridAuth. When using it on my shared server but now I have upgraded to a VPS running IIS 7.

I read that I needed to instal cURL with SSL and when running phpinfo(), all is showing to be configured properly.

However, I am getting errors when trying to connect to the social networks:

Invalid or no certificate authority found, using bundled information

Error: Authentification failed! Twitter returned an error. 401 Unauthorized.

How can I fix this?

4

1 回答 1

0

试着告诉 curl 不要检查这些东西

curl_setopt_array ( $curl_instance , array(
    CURLOPT_SSL_VERIFYHOST => false,
    CURLOPT_SSL_VERIFYPEER => false,
) );
于 2013-12-23T15:02:55.783 回答