SSL certificate: unable to get local issuer certificate [closed]
Solution 1:
It might happen because curl can't access valid CA certs bundle. Maybe you just didn't install those, so try this:
apt-get install ca-certificates
If it doesn't help - check CURL_CA_BUNDLE
, make sure curl doesn't look for bundle in a wrong place.