Reputation: 986
I have a Facebook application running on Amazon servers (windows data center + apache) and this shows up in the apache error log a lot:
"Invalid or no certificate authority found, using bundled information"
In facebook.php the error is generated here:
if ((curl_errno($ch) == 60) || (curl_errno($ch) == 77)) { // CURLE_SSL_CACERT || CURLE_SSL_CACERT_BADFILE
self::errorLog('Invalid or no certificate authority found, using bundled information');
curl_setopt($ch, CURLOPT_CAINFO,
dirname(__FILE__) . '/fb_ca_chain_bundle.crt');
$result = curl_exec($ch);
}
I have the latest fb_ca_chain_bundle.crt from github in the same directory.
Upvotes: 2
Views: 5614
Reputation: 986
Download facebook.php and the fb_ca_chain_bundle.crt certificate again and replace them with your current files.
Upvotes: 2