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

Updating API post to use CURL_CA_BUNDLE #1

Merged
merged 1 commit into from
Dec 11, 2012
Merged

Conversation

jaydiablo
Copy link
Contributor

If user has CURL_CA_BUNDLE environment variable defined, have API curl call use that path.

If user has CURL_CA_BUNDLE environment variable defined, have API curl call use that path.
jlipps added a commit that referenced this pull request Dec 11, 2012
Updating API post to use CURL_CA_BUNDLE
@jlipps jlipps merged commit e7743ff into jlipps:master Dec 11, 2012
@jlipps
Copy link
Owner

jlipps commented Dec 11, 2012

Thanks for the contrib.

@jaydiablo
Copy link
Contributor Author

On OSX I have an environment variable defined to point my command line curl to a specific CA bundle (up to date). Sauce labs' API URL requires an up to date bundle to verify the SSL cert. However, php by default doesn't use the same environment variable that the CLI curl does, adding this if statement fixes Sausage for me on OSX Mountain Lion.

@jaydiablo
Copy link
Contributor Author

That was fast, thanks!

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

Successfully merging this pull request may close these issues.

2 participants