Answer the question
In order to leave comments, you need to log in
How to resolve ssl certificate verification error in terminal when executing composer update command?
Hello everyone! Please tell me, I use OpenServer and its terminal, yesterday I installed the yii-app-advanced project, I typed the composer update command in the terminal and got the following error:
[Composer\Downloader\TransportException]
curl error 60 while downloading https://asset-packagist.org/packages.json:
SSL certificate problem: certificate has expired
Answer the question
In order to leave comments, you need to log in
composer config disable-tls true
but this is such a solution to the problem.
You need to update the file with root certificates: openserver/userdata/config/cacert.pem
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question