Customer Portal

Get Involved. Join the Conversation.

Topic

    Saji Mathew
    cURL ERROR: 77: error setting certificate verify locations
    Topic posted July 18, 2019 by Saji Mathew 
    18 Views
    Title:
    cURL ERROR: 77: error setting certificate verify locations
    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