Does anybody know what could be the problem ? Please help :(
Jun 22, 2015
17
Level 6
How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication
I am using socialize for Facebook authentication, But I got cURL error Mentioned below.
RequestException in CurlFactory.php line 162:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
My controller :
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Socialite;
class AccountController extends Controller
{
public function facebook_redirect()
{
return Socialite::with('facebook')->redirect();
}
public function facebook()
{
$user = Socialite::with('facebook')->user();
}
}
please help Thank you :)
Please or to participate in this conversation.