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

Don't use default Composer CA bundle if in phar as not included so won't work. #72

Closed
gitlost opened this Issue Feb 26, 2018 · 0 comments

Comments

1 participant
@gitlost
Contributor

gitlost commented Feb 26, 2018

From original @swiffer wp-cli/wp-cli#4703

Running WP-CLI 1.5.0 I cannot install new commands via

wp package list / install

failed to open stream: phar error: "vendor/composer/ca-bundle/res/cacert.pem" is not a file in phar

As we don't include Composer's CA bundle in the phar the default "last resort" doesn't work CaBundle.php#L121 so should avoid it. Noticeable particularly on Windows as default paths searched by Composer won't usually find anything.

PR incoming.

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