I'm using cloudinary-labs/cloudinary-laravel package to upload images to Cloudinary using the following code:
$result = Cloudinary::upload($request->file('photo')->getRealPath());
but I get cURL error 60 with the following details:
"message": "cURL error 60: SSL certificate problem: self signed certificate in certificate chain (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.cloudinary.com/v1_1/{MY-CLOUD-NAME}/image/upload",
"exception": "GuzzleHttp\\Exception\\RequestException",
"file": "F:\\open-source-projects\\soora\\vendor\\guzzlehttp\\guzzle\\src\\Handler\\CurlFactory.php",
"line": 211,
At first, I thought I knew the solution because I've faced the same error in another project (but using AWS instead) so I downloaded cacert.pem file and placed it in the php.ini file, but I'm still getting the same error.