0
votes

I am getting this error when logging into Facebook on my localhost:

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

1

1 Answers

0
votes

Disable CURLOPT_SSL_VERIFYPEER to stop cURL from verifying the peer's certificate:

$client->getClient()
   ->setDefaultOption('config/curl/' . CURLOPT_SSL_VERIFYPEER, false);

Got answer from: see Bondan's answer

OR See this answer: cURL error 60 while facebook Authentication