CodeIgniter Forums
Paypal certificate problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Paypal certificate problem (/showthread.php?tid=79716)



Paypal certificate problem - pippuccio76 - 07-23-2021

hi sorry for english i use the paypal code on github :

https://github.com/paypal/ipn-code-samples/blob/master/php/PaypalIPN.php

I insert the cacert.pem inside a folder in writable , this is my code :

PHP Code:
        if ($this->use_local_certs) {
            curl_setopt($chCURLOPT_CAINFOWRITEPATH.'/uploads/Paypal/cacert.pem');
        

But in my ipn log i have :  cURL error: [60] SSL certificate problem: unable to get local issuer certificate
This is my server screenshot :
https://imgur.com/ljuXH6e.png
Why ?


RE: Paypal certificate problem - InsiteFX - 07-24-2021

remove the begginning / WRITEPATH supplies it.