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

Avoid using Composer CA bundle if in phar. #73

Merged
merged 2 commits into from
Mar 2, 2018

Conversation

gitlost
Copy link
Contributor

@gitlost 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 a team March 2, 2018 16:03
@danielbachhuber danielbachhuber merged commit c542be5 into master Mar 2, 2018
@danielbachhuber danielbachhuber deleted the cacert.pem-path branch March 2, 2018 16:24
schlessera pushed a commit that referenced this pull request Jan 5, 2022
Avoid using Composer CA bundle if in phar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants