Skip to content

composer:Curl ssl error :unable to get local issuer certificate #930

@prajput1merkle

Description

@prajput1merkle

Hello I am trying to run the composer install in my local system and every time it fails and throws :
Failed to download module_name, trying the next URL (0: curl error 60 while downloading https://repo.packagist.com/#####.zip: SSL certificate problem: unable to get local issuer certificate)

Steps To Reproduce

  1. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
  2. git clone [email protected]:repo src
    3.bin/start --no-dev
    4.bin/setup-composer-auth
    5.bin/cli git checkout integration
    6.bin/copytocontainer --all
    7.bin/composer install

composer should work

throwing error

OS: Apple M1 Max
Zscalar: yes
Magento : 2.4.5.p2
docker : https://github.com/markshust/docker-magento

Somehow its a Zscalar issue but I am not sure if yes how can I solve this?
here are some screenshots with my finding

https://serverfault.com/questions/1100480/wsl-docker-curl-60-unable-to-get-local-issuer-certificate

Screenshot 2023-05-19 at 7 19 32 PM Screenshot 2023-05-19 at 10 47 50 PM Screenshot 2023-05-19 at 10 27 47 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions