Reputation: 5064
I'm using Socialite for my Facebook login. I was able to follow the steps here until I was able to encouter a cURL certificate error upon clicking the "Continue as ..." on facebook oAuth.
RequestException in CurlFactory.php line 187: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I have download the cacert.pem
and added it to my php.ini
by following the steps here.
[cURL]
curl.cainfo=C:\xampp\php\cacert.pem
Restarted apache and still the same error. I'm running it under a Windows machine. What's going on?
Upvotes: 0
Views: 278
Reputation: 5064
I was able to solve this by checking the php path on the environment variables. I needed to add the php path on the path
. This is to make sure that the PHP that I am running using php artisan serve
is running the correct PHP instance.
Upvotes: 1