Self signed certificate in certificate chain

On that note, what version of cURL, and OpenSSL, are you running?
curl --version
openssl version

1 Like

Just realized neither curl nor OpenSSL is installed on the server. Could it be the reason that cause the error message?

Your PHP seems to be having a functional cURL library, so I don't think your recent findings are relevant.

Please look into CURLOPT_CAPATH as I suggested earlier.

2 Likes

As per cURL documentation, it doesn't seem to work in Windows environment.

1 Like

An alternative option would be CURLOPT_CAINFO

Also, it might be a good idea to check if it's a PHP issue or not by running curl from the command line on the server which is also serving your PHP file.

3 Likes

HI there,
Finally got it fixed by downloading an update cert from curl - Extract CA Certs from Mozilla and updating ```
curl.cainfo in php.ini.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.