I am using socialite in Laravel 5 to setup facebook login. I followed the instructions carefully until I got stuck with the following error
cURL error 60: SS
My error is:
cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
This works well for me:
curl.cainfo="C:\xampp\apache\bin\curl-ca-bundle.crt"
That's worked for me.
you did not read the error carefully, now read it carefully
cURL error 77: error setting certificate verify locations: CAfile: D:\XAMPP\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
it means you are missing a file called curl-ca-bundle.crt to verify certificate locations, so you just need to put this(curl-ca-bundle.crt) file into your XAMPP\apache\bin\ folder and everything is fine error 77 has gone.
curl-ca-bundle.crt, to download the file you can use this link https://github.com/nirmalkumar98/nk
i had the same problem. you have to open the file .pem or pem.txt with a simple editor (bloc-note) and past the (https://curl.haxx.se/ca/cacert.pem) in your file. you have to reload apache.
cacert.pem.txt
in C:\xampp\php
Add to php.ini
:
curl.cainfo = "C:\xampp\php\cacert.pem.txt"
Then it works fine!
You need to replace the existing certificate with the other one here. After that:
xampp\php\ext
xampp\php\php.ini
curl.cainfo='location from the first step'
to the end of the file.This is the source link.