4 months ago

Composer install fails: SSL: Connection reset by peer

Posted 4 months ago by benelaci


I was following the steps on installing composer that can be found here:

I get the following message when trying to run php composer-setup.php:

The "" file could not be downloaded: SSL: Connection reset by peer

Failed to enable crypto

failed to open stream: operation failed

Previously, I wasn't able to download composer-setup.php with php -r copy() command, so I downloaded it via browser. The reason was the same: SSL connection failed.

Thanks in advance for your help!

Please sign in or create an account to participate in this conversation.