0

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)

jwpfox
  • 4,964
  • 11
  • 44
  • 42

1 Answers1

0

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

Community
  • 1
  • 1
Ruhul Amin
  • 1,663
  • 15
  • 17