📜  cURL 错误 60:Larvel 中的 SSL 证书在 pusher 或 facebook 身份验证中 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:56.826000             🧑  作者: Mango

代码示例1
/*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,
    ];