Home > Software design >  Composer : SSL certificate problem: unable to get local issuer certificate
Composer : SSL certificate problem: unable to get local issuer certificate

Time:10-10

I'm using symfony for a web app and I need to require packages with composer composer require I have this error curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate

I already downloaded the cacert.pem file, placed it in my php folder and edited this line in my php.ini : ;curl.cainfo = "C:\Program Files\PHP\extras\ssl\cacert.pem" but it didn't changed anything.

Did someone know how i can solve it please ?

CodePudding user response:

I just solved this problem by disable and enable again tls in composer with composer config -g -- disable-tls true

  • Related