title: SSL error in cakaPHP with extensions=php_openssl uncomment
body: <p>I am using cakePHP and I am trying to get locally the profile picture in facebook after logging in using her/his facebook.</p>
  
  <p>Saving is working fine, the only problem that I've been encountering is the SSL error,</p>
  
  <pre><code>Warning (2): file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [APP\Controller\FacebookCpsController.php, line 98]
  Warning (2): file_get_contents() [function.file-get-contents]: Failed to enable crypto [APP\Controller\FacebookCpsController.php, line 98]
  Warning (2): file_get_contents(https://graph.facebook.com/10203572402389803/picture) [function.file-get-contents]: failed to open stream: operation failed [APP\Controller\FacebookCpsController.php, line 98]
  Warning (2): file_put_contents(/files/user_profile) [function.file-put-contents]: failed to open stream: No such file or directory [APP\Controller\FacebookCpsController.php, line 99]
  </code></pre>
  
  <p>My controller name is FacebookCps.</p>
  
  <p>and this is my line 98 and 99:</p>
  
  <pre><code>line 98: $image = file_get_contents('https://graph.facebook.com/'.$uid.'/picture'); 
  line 99: file_put_contents('/files/user_profile', $image); 
  </code></pre>
  
  <p>My extension=php_openssl is already uncomment in my php.ini (C:/xampp/php/phpini)</p>
  
  <p>Thank you for any suggestion/help.</p>