Unable to fetch available updates data – unexpected cURL error

When working with PHP and Moodle’s LMS, sometimes you have to dig for answers.  The error “Unable to fetch available updates data – unexpected cURL error” actually has a fix that is easy to implement.   Finding the solution was a challenge.

Moodle 2.4 updates using SSL and now you should place a certificate in the Moodledata folder.  Dawn was on this two weeks ago but the documentation was missing something.  (She can find anything on the web!)  Following up on what she had found, I found the solution here:

https://moodle.org/forum/discuss.php?d=218800

Here’s the answer:

“It needs the ca-bundle.crt available at http://curl.haxx.se/ca/cacert.pem – Just copy the contents into a text file and rename it to moodleorgca.crt and place this in the root of the moodledata directory.”   This is a comment found here MDL-36903 on Moodle.org.

cURL CA Certs (referenced in the link above)

About these ads

About TCAT Shelbyville IT Department

The Tennessee College of Applied Technology - is one of 46 institutions in the Tennessee Board of Regents System, the seventh largest system of higher education in the nation. This system comprises six universities, fourteen community colleges, and twenty-six Applied Technology Colleges.
This entry was posted in Technology and tagged , , , , , , , , . Bookmark the permalink.

One Response to Unable to fetch available updates data – unexpected cURL error

  1. Thanks so much, I’ve had this problem for a while and I’ve spent ages looking for the solution!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s