Moodle
  1. Moodle
  2. MDL-15955

cURL no longer contains a default CA Cert package

    Details

    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      4560

      Description

      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?
      http://moodle.org/mod/forum/discuss.php?d=98199#p453614

      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?

      thanks!

      Dan

        Activity

        Dan Marsden created issue -
        Martin Dougiamas made changes -
        Field Original Value New Value
        Workflow jira [ 27810 ] MDL Workflow [ 43744 ]
        Petr Škoda made changes -
        Assignee Petr Škoda (skodak) [ skodak ] moodle.com [ moodle.com ]
        Fix Version/s DEV backlog [ 10464 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 43744 ] MDL Full Workflow [ 72128 ]
        Dan Marsden made changes -
        Labels partner triaged
        Dan Marsden made changes -
        Labels partner triaged CatalystIT partner triaged
        Dan Marsden made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee moodle.com [ moodle.com ] Dan Marsden [ danmarsden ]
        Resolution Won't Fix [ 2 ]

          People

          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: