composer / windows-setup

The Windows installer for the Composer PHP Dependency Manager
MIT License
144 stars 69 forks source link

composer install error - CA-problem #134

Closed oryx77 closed 3 years ago

oryx77 commented 3 years ago

Setup Log 2021-05-18 #005.txt I've got now another error during composer installation with a similar cause. server_crt The server.crt has a valid date. Thanks in advance for help, Regards, oryx

PS: It's a self-sign cert and I like composer to install in XAMPP for a local dev-environment. Edit 19.05.21: I commented the openssl.cafile in php.ini out -> restart apache -> no success Edit 19.05.21 #2: error now:

The Composer installer script was not successful [exit code 1].

OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Authority file(s) on your system, which either cannot be found or may be out of date.

Script Output: The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed

johnstevenson commented 3 years ago

Guessing this is no longer an issue.