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

Validation failing in Laravel - Fix #6

Closed
Maltex opened this issue Dec 11, 2014 · 1 comment
Closed

Validation failing in Laravel - Fix #6

Maltex opened this issue Dec 11, 2014 · 1 comment

Comments

@Maltex
Copy link

Maltex commented Dec 11, 2014

Was still getting a persistent failure for the validation on my local WAMP stack. It's an issue with WAMP's PHP (maybe the most recent version) not including a un-to-date CD certificates.

Download the cacert.pem file from http://curl.haxx.se/docs/caextract.html.

Update PHP ini:
curl.cainfo = "C:\path\to\cacert.pem"

Worked perfectly for me.

Although I wouldn't advise people to do so, for testing purposes perhaps include a bool to switch SSL checking on/off.

Cheers for the project! Very helpful.

@anhskohbo
Copy link
Owner

Use file_get_contents() instead of curl. c884fda

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

1 participant