php - Laravel 5 Socialite - cURL error 77: error setting certificate verify locations -


i using socialite in laravel 5 setup facebook login. followed instructions until got stuck following error

curl error 60: ssl certificate problem: unable local issuer certificate 

so found this answer fix indeed passed got error

curl error 77: error setting certificate verify locations: cafile: /applications/xampp/xamppfiles/cacert.pem capath: none 

any ideas what's cause of error?! , how fix it?!

i got stuck on problem well. turned out had path certificate set incorrectly in php.ini file. forgot .txt extension.

what had:

curl.cainfo = "c:\xampp\php\cacert.pem" 

what changed to:

curl.cainfo = "c:\xampp\php\cacert.pem.txt" 

hope helps.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -