Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
cURL ERROR: 77: error setting certificate verify locations — Cloud Customer Connect
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
39
Views
2
Comments
edited Jun 7, 2022 1:18PM in General Technical Discussions 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!