0

I am experimenting with Pat_Patterson's "Interact with the Force.com REST API from PHP". I am using PHP Version 5.6.3 , and I already registered my app via Setup->Create->Apps->Connected Apps. I setup the Redirect URL, Customer Secrets and Consumer Keys in the Config.php file but when I run the code it gives me an error:

Error: call to token URL https://login.salesforce.com/services/oauth2/token failed with status 0, response , curl_error SSL certificate problem: unable to get local issuer certificate, curl_errno 60

Can someone explain what this error means and what steps are necessary to address it?

1
  • Have you tried with a different tool (like Postman)? It's hard to tell whether this is an issue with curl or an issue with the configuration.
    – JDB
    Commented Sep 25, 2015 at 14:57

1 Answer 1

0

Probably way too late, but I suspect you don't have a proper SSL certificate on your server. You can set curl option verify_peer to false and it should fix this rerror.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .