Лечение:
$pest->curl_opts[CURLOPT_SSL_VERIFYHOST] = false; $pest->curl_opts[CURLOPT_SSL_VERIFYPEER] = true;