Skip to content

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

@carlfost

Description

@carlfost

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions