Giter VIP home page Giter VIP logo

Comments (6)

henno avatar henno commented on May 28, 2024 1

See these:
http://stackoverflow.com/a/6400746/584750
http://stackoverflow.com/a/16495053/584750

from client.

olivercarl avatar olivercarl commented on May 28, 2024

This seems to be a problem of lower layers (curl?), so it would be helpful to know your system configuration (OS, PHP version, etc.)
The error indicates that the client (your PHP application) is unable to verify the certificate provided by Digital Ocean. As nobody else seems to have the issue, I would suspect that you are using some old version of PHP or any other involved component.

from client.

toin0u avatar toin0u commented on May 28, 2024

@eduardokum I've just tested your script and I do not have any issue. I close it as it does not look like to be an issue with the lib as @olivercarl wrote. Feel free to post more info if you need helps :)

from client.

eduardokum avatar eduardokum commented on May 28, 2024

My php is 5.4 running on a mac os x
I don't understand it. :/

from client.

toin0u avatar toin0u commented on May 28, 2024

I think you need to try a simple cURL against a HTTPS sites.

from client.

henno avatar henno commented on May 28, 2024

I'm getting this error, too.

It appears to occur on latest Xampp (3.2.1) and is caused by the curl version used in that version (7.39). Basically curl does not have access to trusted root certificates which can be separately downloaded from http://curl.haxx.se/docs/caextract.html

There are 2 ways to get by this error: either modify guzzle (or buzz) to stop verifying the SSL certificate (bad) or download the cacerts.pem file from the URL I mentioned above and insert curl.cainfo = "C:\path\to\cacert.pem" to your php.ini (better security wise but requires modifying php.ini which is not always possible).

from client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.