Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stueynet's avatar

Homestead Curl Error 77 when using Guzzle

Just trying to make a simple external API call using the latest guzzle in laravel.

Environment: Homestead 6.3, PHP 7.2

Code:

$client = new Client(); //GuzzleHttp\Client
return $result = $client->get($url);

Error:

cURL error 77: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.cr CApath: /etc/ssl/certs (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
0 likes
0 replies

Please or to participate in this conversation.