function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rob PisanoRob Pisano 

Heroku Login Error: Self Signed Certificate in Certificate Chain

When attempting to do the Trailhead: 
Quick Start: Heroku Connect  > Prepare the App for Local Development 
I get the following error on the first step, logging into heroku on the command line:
Error: self signed certificate in certificate chain

I am guessing this has to do with my company's policies, and when I searched for a workaround to this issue, one that came up was disabling SSL in git with "git config --global http.sslVerify false" which I did but did not seem to fix the issue. Is there a heroku specific workaround? 
NagendraNagendra (Salesforce Developers) 
Hi Rob,

Sorry for this issue you are encountering.

I have faced a similar issue in the past and Upgrading to the latest git version helped.  The version of git on my computer was 1.9.5. The latest version of git is 2.16.2

Also, double check and see if you have any anti-virus that is blockiHerokuoku-cli.exe.If yes, then try Restoring it and remove it from the suspected list of any of your antiviruses which should probably do the trick.

Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra.