Problem with the SSL CA cert (path? access rights?) with CLOUDINARY API call

May 14, 2015 1.4k views
DigitalOcean PHP Security CentOS

Hi,

We have a CentOS 6 server droplet running PHP 5.3.3 w/ MySQL.

We cannot seem to get this server to communicate with cloudinary.com's API - an image upload/manipulation site.

We try the simplest call from the code like:

***$arryReturnedFromUploadToCloudinary = \Cloudinary\Uploader::upload( $permStoragePathAndName );


We're running cloud.php - which calls the Cloudinary.com API, off my www root, and we get this error: (note that cloud.php is a simple php script that calls DecalToCloudinary.php; DecalToCloudinary.php has the API calls to Cloudinary\Uploader:: etc...)

Thanks for the help
The Avattire Team
c/o John B

Fatal error: Uncaught exception 'Cloudinary\Error' with message 'Error in sending request to server - Problem with the SSL CA cert (path? access rights?)' in /root/dev/www/Uploader.php:293 Stack trace: #0 /root/dev/www/Uploader.php(61): Cloudinary\Uploader::call_api('upload', Array, Array, 'item.jpg') #1 /root/dev/www/DecalToCloudinary.php(82): Cloudinary\Uploader::upload('item.jpg', Array) #2 /root/dev/www/DecalToCloudinary.php(33): UploadPNGtoCloudinary('item.jpg') #3 /root/dev/www/cloud.php(21): PicTest('item.jpg') #4 {main} thrown in /root/dev/www/Uploader.php on line 293

Be the first one to answer this question.