10up / wpcli-vulnerability-scanner

WP-CLI command for checking installed plugins and themes for vulnerabilities reported on wpvulndb.com
MIT License
278 stars 40 forks source link

Unable to install as global package #28

Closed evantobin closed 6 years ago

evantobin commented 6 years ago

When executing the command:

wp package install git@github.com:10up/wp-vulnerability-scanner.git

I get the following error:

Installing package 10up/wp-vulnerability-scanner (dev-master) Updating /root/.wp-cli/packages/composer.json to require the package... Registering git@github.com:10up/wp-vulnerability-scanner.git as a VCS repository... Using Composer to install the package...

Loading composer repositories with package information Warning: The "https://wp-cli.org/package-index/packages.json" file could not be downloaded: Peer certificate CN=ssl391970.cloudflaressl.com' did not match expected CN=wp-cli.org' Failed to enable crypto failed to open stream: operation failed

Error: Package installation failed. Reverted composer.json

nprasath002 commented 6 years ago

I was unable to reproduce this in my local and the installation works fine with the following command wp package install git@github.com:10up/wp-vulnerability-scanner.git

Do you still have this error?

evantobin commented 6 years ago

I was able to run this on another device. I needed to update my CA-certs repository.