MOODLE - cURL request for "https://api.h5p.org/v1/sites" failed...
Submitted by prnscg on Tue, 11/03/2020 - 12:28
...with: SSL certificate problem: self signed certificate in certificate chain.
Hi,
We have just upgraded to Moodle 3.9.
I have been trying to get the new core version of H5P to download and update content types as part of the cron tasks.
When this failed I tried:
php /var/www/html/admin/tool/task/cli/schedule_task.php --execute=\\core\\task\\h5p_get_content_types_task --showdebugging
Which gave me:
++ cURL request for "https://api.h5p.org/v1/sites" failed with: SSL certificate problem: self signed certificate in certificate chain (60) ++* line 1568 of /lib/filelib.php: call to debugging()* line 330 of /h5p/classes/core.php: call to download_file_content()* line 317 of /h5p/classes/core.php: call to core_h5p\core->register_site()* line 287 of /h5p/classes/core.php: call to core_h5p\core->get_site_uuid()* line 171 of /h5p/classes/core.php: call to core_h5p\core->get_latest_content_types()* line 69 of /lib/classes/task/h5p_get_content_types_task.php: call to core_h5p\core->fetch_latest_content_types()* line 163 of /admin/tool/task/cli/schedule_task.php: call to core\task\h5p_get_content_types_task->execute()SSL certificate problem: self signed certificate in certificate chain... used 3 dbqueries... used 0.13713216781616 secondsScheduled task complete: Download available H5P content types from h5p.org (core\task\h5p_get_content_types_task) I have updated the the cacert.pem file from https://curl.haxx.se/ca/cacert.pem
Any suggestions welome.
M4stern00b
Mon, 07/08/2024 - 15:33
Permalink
Same problem.
Hi. Same problem here. Do you have any suggested solutions, meanwhile?