-1

When trying to connect my Laravel app with Facebook app API I get this error

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

I tried all this solutions :

  • I downloaded the file cacert.pem, place it inside my php file and edited the php.ini curl.cainfo = "the path of cacer.pem"
  • I edited my file config/session.php 'domain' => localhost

Thank you.

DM Ibtissam
  • 63
  • 1
  • 12

1 Answers1

0

This link might be helpful:

cURL error 60: SSL certificate: unable to get local issuer certificate

FWIW, When I program with curl in C I typically need to provide a "crt" file, as follows:

curl_easy_setopt(curl, CURLOPT_CAINFO, "ca-bundle.crt");

G McIntire
  • 41
  • 6