Reputation: 721
I'm trying to install Composer-Setup for Windows but installation with an error and not continue
this error:
Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to https://getcomposer.org/installer failed with errors: SSL: Handshake timed out. Failed to enable crypto. Failed to open stream: operation failed
Upvotes: 1
Views: 1224
Reputation: 759
I am sure that opnessl configured and works,however, it didn't work.
but I used v.p.n & everything works like clock ;)
Upvotes: 0
Reputation: 721
I have found the solution:
Ensure that the SSL certs are installed and can be found by PHP.
In php.ini
:
curl.cainfo=/path/to/ssl-certs/ca-bundle.crt
openssl.cafile=/path/to/ssl-certs/ca-bundle.crt
If certs are missing: download a cert bundle from http://curl.haxx.se/ca/cacert.pem and save as ca-bundle.crt
.
Upvotes: 5