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

        Hide
        Michael de Raadt added a comment -

        Thanks for reporting this issue.

        We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

        If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

        Michael d;

        lqjjLKA0p6

        Show
        Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
        Hide
        Dan Marsden added a comment -

        would be good to get this fixed at some point.

        Show
        Dan Marsden added a comment - would be good to get this fixed at some point.
        Hide
        Dan Marsden added a comment -

        closing as won't fix - no one seems to be having this problem anymore and I don't plan to work on it - if someone else wants to pick this up we could re-open.

        Show
        Dan Marsden added a comment - closing as won't fix - no one seems to be having this problem anymore and I don't plan to work on it - if someone else wants to pick this up we could re-open.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: