cURL has changed in newer versions of PHP - it no longer contains a default CA cert bundle, so SSL connections fail 100% of the time unless the user updates the CA package stored locally. - under *nix based servers this is very simple, however win32 windows doesn't work as it needs to have a specified path for the CA certs.
can we please something like the code mentioned in this post to the curl calls in filelib?
maybe checking to see if a file called "ca-certificates.crt" exists in the php dir and if SSL is being used, and adding the extra line of code,
or storing the path in somewhere like $CFG->CApath and then using it if it's set.
would be good if we could get this in 1.9stable and HEAD if possible?
|Field||Original Value||New Value|
|Workflow||jira [ 27810 ]||MDL Workflow [ 43744 ]|
|Assignee||Petr Škoda (skodak) [ skodak ]||moodle.com [ moodle.com ]|
|Fix Version/s||DEV backlog [ 10464 ]|
|Workflow||MDL Workflow [ 43744 ]||MDL Full Workflow [ 72128 ]|
|Labels||partner triaged||CatalystIT partner triaged|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Assignee||moodle.com [ moodle.com ]||Dan Marsden [ danmarsden ]|
|Resolution||Won't Fix [ 2 ]|