1. Moodle
  2. MDL-15955

cURL no longer contains a default CA Cert package


    • Affected Branches:


      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?



        Gliffy Diagrams


          Dan Marsden created issue -
          Martin Dougiamas made changes -
          Field Original Value New Value
          Workflow jira [ 27810 ] MDL Workflow [ 43744 ]
          Petr Skoda made changes -
          Assignee Petr Škoda (skodak) [ skodak ] [ ]
          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 [ ] Dan Marsden [ danmarsden ]
          Resolution Won't Fix [ 2 ]


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


              • Created: