curl failed to verify the legitimacy of the server and therefore could not moodle_1 | establish a secure connection to it code example
Example: curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it.
// add the -k swith to disable ssl verification
curl -k https://www.mywebsite.com