Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting - error setting certificate verify locations: CAfile: curl.cainfo #45

Open
carlfost opened this issue Jan 13, 2022 · 0 comments

Comments

@carlfost
Copy link

Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: curl.cainfo CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\xampp\htdocs\outafire\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:201 Stack trace: #0 C:\xampp\htdocs\outafire\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 C:\xampp\htdocs\outafire\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105):

I am using xampp and a PhpED editor. Where does this package - php-fcm looks for the php.ini file?
Mine is located at C:\xampp\php\php.ini, and I have
curl.cainfo="C:\xampp\apache\bin\curl-ca-bundle.crt"
openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt"
openssl.capath="C:\xampp\apache\bin"

But I am still getting the error.
Error 77 - Problem with reading the SSL CA cert (path or access rights), but the path is correct and the file is accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant