0

I want to push my local to remote repository, but I get this error in GIT

$ git push origin master
fatal: unable to access 'https://git.kgmedia.id/es/portal/home.git/': SSL 
certificate problem: unable to get local issuer certificate

I don't know what's wrong with it, the last time I push to remote repository this doesn't appear

Javier Larroulet
  • 3,047
  • 3
  • 13
  • 30
kitcat
  • 157
  • 1
  • 17
  • Are you on Windows ? – Noah Boegli Apr 08 '20 at 08:18
  • yes, I am using widows – kitcat Apr 08 '20 at 08:19
  • What you likely did is that you installed git with the linux crypto backend. See [this answer](https://stackoverflow.com/a/53064542/6086785). If the following command solves the issue: `git config --global http.sslbackend schannel` I suggest re-installing git and making sure you select the Windows native crypto layer during the installation. – Noah Boegli Apr 08 '20 at 08:20

1 Answers1

-1

You can use this as a workaround:

git config --global http.sslVerify false
rasengan__
  • 883
  • 8
  • 16
  • Please do not disable SSL verification. It renders the whole thing pointless. This should not be a solution, even if it works. – Noah Boegli Apr 08 '20 at 08:18
  • I know it is not good to do this, I just provided a workaround right now, I was looking for an actual solution. – rasengan__ Apr 08 '20 at 08:19