title: cURL error 60: SSL certificate in Laravel 5.3
body: <p>I'm trying to build a social media package <code>socialite version ^2.0</code> login in <code>Laravel 5.3</code>, where I've configured as per the instruction on github, while getting the callback I'm getting an error:</p>
  
  <blockquote>
    <p>cURL error 60: SSL certificate problem</p>
  </blockquote>
  
  <p>Well I tried searching about this problem and whatever it was instructed I did, but still getting the same certificate error.</p>
  
  <p>First of all I'm using wamp server which has <code>PHP version 5.6 and 7</code> I saved the <code>cacert.pem</code> from the link <code>https://curl.haxx.se/ca/cacert.pem</code> and placed it to <code>C:\wamp\bin\php\php7.0.4\ext</code> and to <code>C:\wamp\bin\php\php5.6.19\ext</code> and edited php.ini file of respective version and added the following at end of the file:</p>
  
  <pre><code>[cURL]
  curl.cainfo="C:\wamp\bin\php\php7.0.4\ext\cacert.pem"
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[cURL]
  curl.cainfo="C:\wamp\bin\php\php5.6.19\ext\cacert.pem"
  </code></pre>
  
  <p>Well this didn't worked so I searched more I came to know that I need to install <code>guzzlehttp/guzzle</code> So I did so, while using the version ^6.0 I was still getting the same then I tried version ^4.0 as it was suggested in many blogs, while doing so I was getting a bindshared error:</p>
  
  <pre><code>  Symfony\Component\Debug\Exception\FatalErrorException]
  Call to undefined method Illuminate\Foundation\Application::bindShared()
  
  ?[37;41mScript php artisan optimize handling the post-update-cmd event returned with an error?[39;49m
  
  
  ?[37;41m                      ?[39;49m
  ?[37;41m  [RuntimeException]  ?[39;49m
  ?[37;41m  Error Output:       ?[39;49m
  ?[37;41m                      ?[39;49m
  
  ?[32mupdate [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies][-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [?[39m?[32m&lt;packages&gt;?[39m?[32m]...?[39m
  </code></pre>
  
  <p>And it resisted the socialite function to execute. While trying the version 5.0 I was getting this error:</p>
  
  <blockquote>
    <p>cURL error 60: SSL certificate problem: unable to get local issuer certificate</p>
  </blockquote>
  
  <p>I tried disabling the firewall too, but same thing are displaying. Guide me in this. Currently I'm working on <code>PHP Version 7.0.4</code></p>