Fatemeh Namkhah
Fatemeh Namkhah

Reputation: 721

composer setup in windows 8

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

Answers (2)

Amish Shabani
Amish Shabani

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

Fatemeh Namkhah
Fatemeh Namkhah

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

Related Questions