How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication
PHP Snippet 1:
$defaults = [
'allow_redirects' => RedirectMiddleware::$defaultSettings,
'http_errors' => true,
'decode_content' => true,
'verify' => false,
'cookies' => false
];
PHP Snippet 2:
$defaults = [
'allow_redirects' => RedirectMiddleware::$defaultSettings,
'http_errors' => true,
'decode_content' => true,
'verify' => true, // make this false
'cookies' => false,
'idn_conversion' => true,
];
PHP Snippet 3:
composer config disable-tls true
composer config secure-http false
composer clearcache