Not able to install composer in my local system

Created on 22 December 2023, 11 months ago
Updated 2 January 2024, 11 months ago

Hi team,
I have downloaded composer exe file for my windows from https://getcomposer.org/download/.
When i am trying to install it, i am getting following error.

"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:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed"

Could you please help me to install composer in my system.

Regards,
Navnath

💬 Support request
Status

Active

Version

1.4

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Navnath_patil
  • 🇮🇳India samir_shukla bareilly

    Hi, I think the error is related to ca (Certificate Authority) certificate, so you can check whether it is updated and try reinstalling it according to the installation process in your os. For Linux its:
    sudo apt-get install --reinstall ca-certificates.

Production build 0.71.5 2024