composer / composer

Dependency Manager for PHP
https://getcomposer.org/
MIT License
28.53k stars 4.53k forks source link

curl-ca-bundle.crt error SSL #12117

Open bigjohnn1 opened 2 days ago

bigjohnn1 commented 2 days ago

I have been using Composer to install packages for my new project. I used "composer init" as usual, everything worked fine, then "composer require nette/utils", everything was still working just right, but then I suddenly used "composer create-project nette/web-project NAZEV_PROJEKTU" and I recieved an error. I sadly didn't take screenshot of it, but I tried reinstalling composer and got this error : image

, despite installing the newest curl-ca-bundle.crt from 2024-07-02. What do I do ? I have searched for solutions on Google, there has been a recent thread mentioning that you have updated your TLS/SSL certificate fairly recently on Reddit. However, I have this issue on my desktop, but not on my notebook, where the CA is far older, and Composer there works just fine. What do I do ?

Edit : I just found the original error, if that helps : curl error 60 while downloading https://repo.packagist.org/packages.json: ssl certificate problem: unable to get local issuer certificate // no clue why that happened, I can always just factory reset, but I'd rather not do that and actually find out what the issue is.

madhuka1245 commented 16 hours ago

i have same error