I have setup a somewhat intricate MailChimp plugin using their latest PHP class wrapper. One of the settings towards the top of the class wrapper is :
* CURLOPT_SSL_VERIFYPEER setting
* @var bool
public $ssl_verifypeer = true;
Some of the users of our plugin have to manually change this setting to 'false' to get the plugin to function correctly, and I'm not sure why or what this setting is doing. What server setting would force a user to need to set this to false?
I'm looking for two things here:
1) What exactly is this setting doing? Why are some users required to set it to true and others false?
2) Is there a way to programatically detect which setting should be used, based on the users server settings? I had set up a way to detect if cURL was enabled at the server level, and am looking to do something similar here.