Composer安装在https代理后面

时间:2016-01-11 14:03:23

标签: https proxy composer-php

在我的网络中的新服务器上,我尝试设置一个作曲家项目,但我的内部代理有问题。代理设置在/ etc / environment中设置为http和https(大写和小写)。我得到的输出如下:

$ composer.phar diag

Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking HTTP proxy: OK
Checking HTTP proxy support for request_fulluri: OK
Checking HTTPS proxy support for request_fulluri: FAIL
Unable to assess the situation, maybe github is down (The "https://api.github.com/repos/Seldaek/jsonlint/zipball/1.0.0" file could not be downloaded: Peer certificate CN=`codeload.github.com' did not match expected CN=`api.github.com'
failed to open stream: Cannot connect to HTTPS server through proxy)
Checking github.com rate limit: OK
Checking disk free space: OK
Checking composer version: OK

正确安装代理CA证书并处理curl,wget和git。但由于我自己的CA,看起来作曲家在相互评估证书方面存在问题。 https代理正在更改证书(就像中间的人,我无法更改代理[公司安全]),这可能会导致它被杀死。

在你提问之前:我已经尝试设置HTTP(S)_PROXY_REQUEST_FULLURI导出值。

有人知道这种行为并有解决方法吗?

0 个答案:

没有答案