GustavoWebD
Member
Posted 3 months ago #
On authentication with Facebook presents this error: Invalid or no certificate authority found, using bundled information.
I know that refers to the certificate, what can I do?
http://wordpress.org/extend/plugins/wordpress-social-login/
[No bumping. If it's that urgent, consider hiring someone.]
GustavoWebD
Member
Posted 3 months ago #
Has anyone had this problem?
update wsl if your are using an old version.
if it doesn't solve the issue, then try this: (THIS NOT RECOMMENDED THO, this "could" make fb works but you need to resolve it somehow on your server setup)
--- hybridauth/Hybrid/Providers/Facebook.php
+++ hybridauth/Hybrid/Providers/Facebook.php
@@ -31,6 +31,8 @@
require_once Hybrid_Auth::$config["path_libraries"] . "Facebook/facebook.php";
}
+ BaseFacebook::$CURL_OPTS[CURLOPT_SSL_VERIFYPEER] = false;
+
$this->api = new Facebook( ARRAY( 'appId' => $this->config["keys"]["id"], 'secret' => $this->config["keys"]["secret"] ) );
if ( $this->token("access_token") ) {
GustavoWebD
Member
Posted 3 months ago #
It worked!
Had already trying this, but I think I put the command in the wrong place so it did not work.
Must be server problem yourself, know that the next update will have problems again, I will change the server.
Thank you.