Created
September 28, 2014 16:05
-
-
Save drakakisgeo/12cebcd516ffee65a746 to your computer and use it in GitHub Desktop.
Fix for SSL CURL problem ( not validated self-signed certificates)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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