Moodle LMS is one of the best open-source Learning Management Systems around the world. But new users often face some problems while getting started. For example, I tried installing Moodle 4.5 today on a WAMP server to create a demo for a new client. I thought the process would be quick and smooth, but…
Fixing the H5P “Content Type List Outdated” Error in Moodle 4.5 (WAMP/Localhost)
Once I installed Moodle 4.5 and tried creating H5P content using the Interactive Content (Mod_HVP) plugin, I started getting this error:
“Content type list outdated. Your site is having difficulties connecting to H5P.org to check for content type updates.”
Looking for a quick solution, I found a suggestion to upload a sample H5P file to update the libraries. But when I tried, things got worse with this error:
“Validating h5p package failed. SSL certificate problem: unable to get local issuer certificate. Missing main library @library.”
And of course, most of us don’t have SSL certificates running on localhost for testing purposes. So here’s what’s really going on and how I fixed it.
Why This Happens
There are two main reasons for these errors:
- SSL certificates on localhost
Moodle tries to talk to H5P.org over HTTPS, but WAMP’s PHP setup doesn’t know which certificates to trust. So the connection is refused. - Missing libraries
Since Moodle can’t fetch the required libraries from H5P.org, uploading new activities fails with the “main library missing” error.
How I Fixed It
If you want Moodle to connect to H5P.org and update content types automatically, you’ll need to tweak PHP’s SSL settings on your WAMP server.
- Download the CA certificates file from: https://curl.se/ca/cacert.pem
- Save it to your WAMP PHP directory, e.g.:
C:\wamp64\bin\php\cacert.pem - Open your
php.inifile located at:C:\wamp64\bin\apache\apacheX.X.X\bin\php.ini - Find these lines:
- ;curl.cainfo =
- ;openssl.cafile =
- Replace them with:
- curl.cainfo = “C:\wamp64\bin\php\cacert.pem”
- openssl.cafile = “C:\wamp64\bin\php\cacert.pem”
- Right-click the WAMP icon in your taskbar and select Restart All Services.
And that’s it! After this, Moodle on your WAMP server should be able to update H5P libraries without any more SSL or missing library errors.
For regular updates about Moodle, eLearning, and the edtech industry, visit us at lmsdaily.com. You can also connect with us on Facebook, Twitter, or subscribe to our YouTube channel.


