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

Avoid using Composer CA bundle if in phar. #73

merged 2 commits into from Mar 2, 2018


2 participants

gitlost commented Feb 26, 2018

Fixes #72

Adds method avoid_composer_ca_bundle() to use SSL_CERT_FILE env var to get Composer to use WP-CLI standard Requests/Transport/cacert.pem instead of default Composer CA bundle which isn't included in the phar.

Tested manually on Windows 10.

@gitlost gitlost requested a review from wp-cli/committers Mar 2, 2018

@danielbachhuber danielbachhuber merged commit c542be5 into master Mar 2, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@danielbachhuber danielbachhuber deleted the cacert.pem-path branch Mar 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment