Issue
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 ?
Solution
I just solved this problem by disable and enable again tls in composer with composer config -g -- disable-tls true
Answered By - Wawan4137 Answer Checked By - Clifford M. (WPSolving Volunteer)