2

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)

Cœur
  • 37,241
  • 25
  • 195
  • 267
Md.Jewel Mia
  • 3,345
  • 3
  • 19
  • 24

1 Answers1

1

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.