Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

cURL error 60 : SSL certificate in Larvel in pusher or facebook authentication

/*After so much of research i found the best solution for this. You just need to make verification false in the vendor/guzzlehttp/guzzle/src/Client.php file .*/
/*https://stackoverflow.com/questions/30974869/how-to-solve-curl-error-60-ssl-certificate-in-laravel-5-while-facebook-authenti*/
$defaults = [
        'allow_redirects' => RedirectMiddleware::$defaultSettings,
        'http_errors'     => true,
        'decode_content'  => true,
        'verify'          => true, // make this false
        'cookies'         => false,
        'idn_conversion'  => true,
    ];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cURL #error #SSL #certificate #Larvel #pusher #facebook #authentication
ADD COMMENT
Topic
Name
2+7 =