robbiepaul / cloudconvert-laravel

A Laravel wrapper for the CloudConvert API
177 stars 34 forks source link

cURL error 60: SSL certificate problem: self signed certificate in certificate chain #53

Closed brickgale closed 7 years ago

brickgale commented 7 years ago

I'm using Laravel5.2, there is already guzzlehttp on vendor folder. I'm not sure why is it giving me SSL certificate problem when I'm still doing it on local. Do we need SSL for calling the api of Cloud Convert?

robbiepaul commented 7 years ago

Sounds like an issue with your local environment. You shouldn't need to touch self signed certificates.

brickgale commented 7 years ago

So basically CloudConvert needs SSL? Thanks. I tried on staging server with SSL, it works fine. I usually just do 'php artisan serve' on local that's why.

brickgale commented 7 years ago

@robbiepaul you were right, its just a local problem, not CloudConvert. Found my solution in SO. https://stackoverflow.com/questions/29822686/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate

Windows 10 XAMPP Laravel 5.2 (php artisan serve)

ImmanuelJL commented 7 years ago

@brickgale hi i face the same problem and it solved also on local with your link to stackoverflow. My question is, is it a must to have SSL on my live server??? or i can convert it without ssl???

brickgale commented 7 years ago

@ImmanuelJL i think it won't mind if you have SSL on live if it's running on a linux server usually. This is just basically because of my local dev environment running on xampp.

ImmanuelJL commented 7 years ago

@brickgale oh i see, thanks brooo