1

Using Eclipse, EGit and Stash

Trying to push upstream to Stash with EGit, over HTTPS. Stash server has valid SSL cert but hostname doesn't match.

From command line I can work around with GIT_SSL_NO_VERIFY=1. What's the equivalent in EGit?

Thanks.

Michał Politowski
  • 4,288
  • 3
  • 30
  • 41
wrschneider
  • 17,913
  • 16
  • 96
  • 176

1 Answers1

3

You can set in your repo git config (which is read by EGit)

cd /path/to/your/repo
git config http.sslVerify false

Or go to Window->Preferences->Team->Git->Configuration, and add it there.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks, that's what I was missing - didn't understand that EGit shared same configuration with git command line. Found it and works. – wrschneider Sep 07 '13 at 18:32