I'm getting this error: Fatal error: Uncaught exception 'Exception' with message 'cURL error: [77] error setting certificate verify locations: CAfile: /www/asktami/WEBHOOKS/etc/httpd/conf/ssl.crt/mail4_2015.crt CApath: none ' in /www/asktami/WEBHOOKS/PaypalIPN.php:119 Stack trace: #0 /www/asktami/WEBHOOKS/PaypalIPN.php(278): PaypalIPN->verifyIPN() #1 {main} thrown in /www/asktami/WEBHOOKS/PaypalIPN.php on line 119 The code that causes this error: ... if ($this->use_local_certs) { curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . "/etc/httpd/conf/ssl.crt/mail4_2015.crt"); } curl_setopt($ch, CURLOPT_FORBID_REUSE, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Connection: Close')); $res = curl_exec($ch); if ( ! ($res)) { $errno = curl_errno($ch); $errstr = curl_error($ch); curl_close($ch); throw new Exception("cURL error: [$errno] $errstr"); } ...
... View more