You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

cURL ERROR: 77: error setting certificate verify locations

Received Response
31
Views
2
Comments
edited Jul 19, 2019 12:57AM in Customer Portal 2 comments

Summary

cURL ERROR: 77: error setting certificate verify locations

Content

Hi Friends,

I'm trying to call the Webservice from the custom script, I uploaded the SSL certificate file in 'Additional Root Certificates' folder  and set the same in curl

$certFilePath = '/cgi-bin/{siteName}/certs/ca/cert072019.cer'
$client->setCurlOption(CURLOPT_CAINFO, $certFilePath);

the call is not happening and I'm getting the error which says

HTTP Error: cURL ERROR: 77: error setting certificate verify locations: CAfile: /cgi-bin/{sitename}/certs/ca/cert072019.cer CApath: none

Can anybody give some direction to approach this issue

 

Thanks,

Mathew

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!