Reputation: 3441
I create a social login such as facebook, google & twitter. I did configure in local server cacert.pem
and that's working. But my hosting cpanel is still throwing an exception:
RequestException in CurlFactory.php line 187: cURL error 77: error setting certificate verify locations: CAfile: /etc/ssl/certs/cacert.pem CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Upvotes: 2
Views: 669
Reputation: 36
Please no need to change in your share hosting you can go laravel-5.3 folder location foldername\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
Open CurlFactory.php file go to applyHandlerOptions() then change
$conf[CURLOPT_SSL_VERIFYPEER] = true;
to
$conf[CURLOPT_SSL_VERIFYPEER] = False;
I also fetch problem please try it may it's working.
Upvotes: 2