Laravel, Local Hosted cURL error 60: SSL certificate
<p>I keep getting the error which calling an API locally, works fine on my server: </p>

<blockquote>
  <p>cURL error 60: SSL certificate problem: unable to get local issuer
  certificate</p>
</blockquote>

<p>Is there a way to stop this exception from showing locally? </p>

<p>Here's my code, ignore the () as this is variable info:</p>

<pre><code>public function testCheck($domains){

        $client = new Client();

        $res = $client-&gt;request('GET', 'https://api.namecheap.com/xml.response?ApiUser=(username)&amp;ApiKey=(apikey)&amp;UserName(username)&amp;ClientIp=(ip)&amp;Command=namecheap.domains.check&amp;DomainList=' . $domains);

        $data = json_decode($res-&gt;getBody());

        dd($data);

    }
</code></pre>

<p>Is there a way to stop this exception from showing locally so I can carry on testing?</p>