[PHP] Composer file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:

[Composer\Downloader\TransportException]
The "https://qqqqqqqqqq.qq/artifactory/api/composer/php-composer/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed

Решение: Если это возможно на вашем хосте, отключить проверку

"repositories" : [{
"type": "composer",
"url" : "https://qqqqqqqqqq.qq/artifactory/api/composer/php-composer",
"options": {
"ssl": {
"verify_peer": false
}
}
}
],

...

"config": {
"process-timeout": 1800,
"disable-tls": true,
"secure-http": false
},

 

      

Добавить комментарий

Ваш адрес email не будет опубликован.