cURL error 60: SSL certificate in Laravel 5.4 : <p><strong>Full Error</strong></p>

<p><code>RequestException in CurlFactory.php line 187: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)</code></p>

<p><strong>Scenario</strong></p>

<p>Before anyone points me to these two laracasts answers: <a href="https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate" rel="noreferrer">https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate</a></p>

<p><a href="https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate/replies/52954" rel="noreferrer">https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate/replies/52954</a></p>

<p>I've already looked at them and thats why im here,</p>

<p>The problem i have is that i now have the cacert.pem file BUT it doesn't make sense where to put it, the answers indicate to place the file in my xampp directory and change my <code>php.ini</code> file but im not using xampp for anything, im using laravel's artisan server to run my project. If xampp is not in use then where do i place this file &amp; more so why would an accepted answer be to place it in my xampp directory i dont understand</p>

<p><strong>My Exact Question</strong></p>

<p>Where do i place the <code>cacert.pem</code> file to stop this error in laravel 5.4? </p>
