Laravel 5 Socialite - Curl Error 77: Error Setting Certificate Verify Locations

cURL error 77: error setting certificate verify locations for no obvious reason

After more troubleshooting, I was able to boil down the issue to the xdebug module. I disabled xdebug and now the SSL connections are working consistently.

Laravel 5.3 Socialite cacert.pem error in cpanel

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.

How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication

https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate

https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate/replies/52954

I just spent a number of hours grappling with this. The correct answer is

"indeed to put the cacert.pem file and amend the php.ini file to match as suggested by Moez above. ..... but I kept on getting CURL error 60's The trick was getting a clean copy of the PEM file! Any method involving windows notepad or other editors corrupts the file and gives the cURL error 60 etc. Finally I found https://gist.github.com/VersatilityWerks/5719158/download and downloaded a tar file with a clean copy of the cacert.pem file ...... it then all worked perfectly."

And since you are working on Windows, this could be the problem.



Related Topics



Leave a reply



Submit