Skip to content

Instantly share code, notes, and snippets.

@tjaskula
Last active January 14, 2020 10:29
Show Gist options
  • Save tjaskula/56ac8bd5ef06c68d4e89899500128b81 to your computer and use it in GitHub Desktop.
Save tjaskula/56ac8bd5ef06c68d4e89899500128b81 to your computer and use it in GitHub Desktop.
Git setting certificates on error

Error

  1. Pushing to GitHub
$ git push origin master
fatal: unable to access 'https://github.com/tjaskula/aspnet-starter-kit-2.0.git/': schannel: next InitializeSecurityCont
ext failed: Unknown error (0x80092012) - La fonction de révocation n92a pas pu vérifier la révocation du certificat.
git config --global http.sslBackend "openssl"
git config --global http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"
  1. Pushing to TFS
$ git push origin buildProcess
fatal: unable to access 'https://tfs/LT/_git/s-ui/': SSL certificate probl
em: unable to get local issuer certificate

$ git config --global http.sslVerify false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment