Skip to content

Instantly share code, notes, and snippets.

@drakakisgeo
Created September 28, 2014 16:05
Show Gist options
  • Save drakakisgeo/12cebcd516ffee65a746 to your computer and use it in GitHub Desktop.
Save drakakisgeo/12cebcd516ffee65a746 to your computer and use it in GitHub Desktop.
Fix for SSL CURL problem ( not validated self-signed certificates)
1. Get the file cacert.pem from http://curl.haxx.se/docs/caextract.html
2. store it somewhere like /etc/php5/apache2
3. Put this line in your php.ini (/etc/php5/apache/php.ini)
curl.cainfo=/etc/php5/apache2/cacert.pem
4. All set!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment