Nov 3, 2018
0
Level 5
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)
Please or to participate in this conversation.