SSL certificate problem: unable to get local issuer certificate
This is a common problem when using Avast antivirus and others but sometimes also happens with somecURL
versions.
Solving problems with cURL
You can check if your CA bundle is up to date by runningcomposer diagnose -vvv
. Look for Checked CA file ...
or
Checked directory ...
and you’ll see where Composer is looking for your CA bundle. You can get a new Certificate
from cURL if this
is a problem.