Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL certificate problem: unable to get local issuer certificate #243

Closed
ghost opened this issue Aug 11, 2017 · 6 comments
Closed

SSL certificate problem: unable to get local issuer certificate #243

ghost opened this issue Aug 11, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 11, 2017

2017-08-11_110906
Problems with wamp?

@Thunder33345
Copy link

i think it's caused because you didnt set up your certs for CURL properly

@ghost
Copy link
Author

ghost commented Aug 11, 2017

Hi @Thunder33345 !
It works if I add
CURLOPT_SSL_VERIFYPEER => false to $options
but I'm not sure if it's called "properly"

@J7mbo
Copy link
Owner

J7mbo commented Aug 11, 2017

Yep, that's because you need to set up your cURL certificates properly. Google is your friend here :)

@abrahaobittar
Copy link

Download the cacert.pem from here https://curl.haxx.se/docs/caextract.html and change your php.ini to this: curl.cainfo = "<cacert.pem_path>/cacert.pem";

@J7mbo
Copy link
Owner

J7mbo commented Sep 21, 2017

Closing this as no response and it doesn't seem directly related to the library but more to PHP instead. If this is not the case, please feel free to re-open / create a new issue.

@J7mbo J7mbo closed this as completed Sep 21, 2017
@J7mbo
Copy link
Owner

J7mbo commented Sep 21, 2017

PS - happy to accept README PRS highlighting this as an issue for windows users so we can avoid threads like this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants