git SSL certificate problem: unable to get local issuer certificate code example

Example 1: unable to get local issuer certificate git

git config --global http.sslVerify false

Example 2: windows fatal: unable to access SSL certificate problem: unable to get local issuer certificate

# in unix put this in your .bash_profile, while
# in windows put it in a batch script that runs at startup or
# simply run it before cloning the repo
git config --global http.sslVerify false

Example 3: git config --global http.sslverify "false" This command resolve my problem

//If you get an error in git when you try to push to heroku, type this code
//to the console.
git config --global http.sslverify "false"
This command resolve my problem

Example 4: SSL certificate problem: unable to get local issuer certificate

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

Tags:

Misc Example