cURL ERROR: 77: error setting certificate verify locations
Summary
cURL ERROR: 77: error setting certificate verify locationsContent
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
Tagged:
0