title: Facebook PHP SDK - Throws exception when trying to fetch profile data
body: <p>Below is the part of exception object that I get when trying to fetch logged in users profile data</p>
  
  <p>PHP Code</p>
  
  <pre><code>$user = $facebook-&gt;api('/me');
  </code></pre>
  
  <p>Exception that I get</p>
  
  <pre><code>object(FacebookApiException)#3 (7) {
    ["result:protected"]=&gt;
    array(2) {
      ["error_code"]=&gt;
      int(77)
      ["error"]=&gt;
      array(2) {
        ["message"]=&gt;
        string(104) "error setting certificate verify locations:
    CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: none
  "
        ["type"]=&gt;
        string(13) "CurlException"
      }
    }
    ["message:protected"]=&gt;
    string(104) "error setting certificate verify locations:
    CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: none
  "
  </code></pre>
  
  <p>Any suggestion?</p>