As explained in this comment on php.net, setting CURLOPT_SSL_VERIFYPEER to false stops cURL from verifying the peer's certificate. An approach to deal with SSL certificates not being installed in the machine by default would be providing a CA certificate along with the plugin.
As explained in this comment on php.net, setting
CURLOPT_SSL_VERIFYPEER
tofalse
stops cURL from verifying the peer's certificate. An approach to deal with SSL certificates not being installed in the machine by default would be providing a CA certificate along with the plugin.References to
CURLOPT_SSL_VERIFYPEER => false
: