This is the error i get:

Anyone have an ideas?

Exception thrown while using admin_setAppProperties : SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

This also happens when i try to change setting in facebook connect module.

* Exception thrown while using admin_setAppProperties : SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
* Checking your facebook session, you are not allowed to change this application settings

Comments

SCaV3NG3R’s picture

Same issue here. Any help is greatly appreciated.

smartalek’s picture

I came across this solution and it worked for me:

1. In the facebook.php that contains facebook's php sdk find the CURL options (currently l.108).
2. Add the following entry to the array: "CURLOPT_SSL_VERIFYPEER => false,"

vectoroc’s picture

I see few ways - you could ask facebook php sdk developers to fix this issue
or I could override Facebook class.

Which would you like?

nico heulsen’s picture

You can just add these 2 lines in your php-code. (don't have to change this in the facebook.php)

Facebook::$CURL_OPTS[CURLOPT_SSL_VERIFYPEER] = false;
Facebook::$CURL_OPTS[CURLOPT_SSL_VERIFYHOST] = 2;

vectoroc’s picture

@Nico Heulsen: thx, I used your solution

vectoroc’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

wallbay1’s picture

which php code facebook-php ?

acubed’s picture

This is no fix at all, this ENTIRELY DISABLES authentication! The Facebook PHP SDK ships with the certificate chain and uses it by default. If SSL fails to authenticate the connection, there may be an active attack on the system, and the solution is NOT ignoring the failure!