my network does not work with https, so
composer.phar install
throws
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: Failed to enable crypto failed to open stream: operation failed
I used
{ "packagist": false }, { "type": "composer", "url": "http://packagist.org", "options": { "ssl": { "verify_peer": "false" } } }
like http balance, but again it falls to another point:
Installing dependencies - Installing symfony/translation (v2.4.0) Downloading: 100% Downloading: 100% Downloading: 100% [Composer\Downloader\TransportException] The "https://api.github.com/repos/symfony/Translation/zipball/0919e0fc709217f8c9e5049f2603419fdd4a34ff" file could not be downloaded: Failed to enable crypto failed to open stream: operation failed
my problem is only with TLSv1, previous versions of SSL should work as browsers work correctly.
how to do this, the problem also exists in other cmd tools that depend on https such as npm, bower, git, curl, ...
pajooh
source share