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
Comment #1
SCaV3NG3R commentedSame issue here. Any help is greatly appreciated.
Comment #2
smartalek commentedI 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,"
Comment #3
vectoroc commentedI see few ways - you could ask facebook php sdk developers to fix this issue
or I could override Facebook class.
Which would you like?
Comment #4
nico heulsen commentedYou 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;
Comment #5
vectoroc commented@Nico Heulsen: thx, I used your solution
Comment #6
vectoroc commentedComment #8
wallbay1 commentedwhich php code facebook-php ?
Comment #9
acubed commentedThis 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!