paypal / ipn-code-samples

Other
562 stars 486 forks source link

Questions about .pem certificate file #146

Open dmikester1 opened 5 years ago

dmikester1 commented 5 years ago

I created a .pem certificate in my sandbox account. Now where do I put that on my server? Anywhere I want? Then do I just change this line to point to it? curl_setopt($ch, CURLOPT_CAINFO, __DIR__ . "/cert/cacert.pem"); I can get the example_usage.php working using the cacert.pem file. But how do I get it working with my own file? Or can I just use the cacert.pem in production? I wish there was a bit more documentation about all this.