SSL certificate verify result: unable to get local issuer certificate (20)
I combined both SSL certificates and then uploaded that on heroku. Command to combine both SSL certificate is:
cat certificate.crt gd_bundle.crt > combine.crt
It will combine certificate.crt
and gd_bundle.crt
to create combine.crt
You need to tell curl
the location of your trusted root certificate store. Try:
curl -vI --cacert /etc/ssl/cert.pem
or
curl -vI --capath /etc/ssl/certs/
(The exact path to your system trusted root store varies by OS/distro, so it may not be exactly one of the above.)