benelaci
4 months ago
1044
4
General

Composer install fails: SSL: Connection reset by peer

Posted 4 months ago by benelaci

Hello,

I was following the steps on installing composer that can be found here: https://getcomposer.org/download/

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

The "https://getcomposer.org/versions" 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.