function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Web DeveloperWeb Developer 

SSL certificate problem: unable to get local issuer certificate

while using this commant "$create = $this->salesforce->create('Account', $data);"
getting this error "SSL certificate problem: unable to get local issuer certificate"
Best Answer chosen by Web Developer
NagaNaga (Salesforce Developers) 
Hi Web Developer,

Can you please add the following lines in the code and see if it resolves the issue

curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, 0);

Best Regards
Naga kiran