composer update时报错 SSL certificate problem: unable to get local issuer certificate
composer require elasticsearch/elasticsearch https://repo.packagist.org could not be fully loaded (curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate), package information was loaded from the local cache and may be out of date
打开composer.json文件 把 "repositories": { } 替换为 "repositories": { "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" } }
人生得意须尽欢,莫使金樽空对月.