I had a problem where Fortigate's CA was mysteriously removed from Windows 10, and GitHub appears to use Fortigate for SSL, so it basically stopped working, across all applications (including web browsers). I reinstalled the CA, and now it works in browsers etc., but not in git.
I keep getting:
SSL certificate problem: self signed certificate in certificate chain
Doing basic things like restarting git, related services etc. does not help. I tried running:
GIT_SSL_CAINFO=/path/to/certificate.pem
Within git bash itself, it's not verbose so I can't really tell if it does anything (although no error is given, so at least the command runs?).
Is there a way to "refresh" git to recognize the existing CAs installed in Windows, or force it to recognize a specific CA?
GitHub uses Fortigate for SSL
. You most likely have Fortigate in your organization and this FW uses SSL inspection. Therefore you see Fortigate CA as issuer of github.com. – pepo