In Connection::performCurlRequest Function, you need add the CURLOPT_SSL_VERIFYHOST curl option to avoid peer verification check.
old:
// set peer verification
if (!this->verifyPeer)
{
curl_easy_setopt(
getCurlHandle(), CURLOPT_SSL_VERIFYPEER, this->verifyPeer);
}
new
// set peer verification
if (!this->verifyPeer)
{
curl_easy_setopt(
getCurlHandle(), CURLOPT_SSL_VERIFYHOST, this->verifyPeer);
curl_easy_setopt(
getCurlHandle(), CURLOPT_SSL_VERIFYPEER, this->verifyPeer);
}