curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. "woocommerce" 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