wrschneider
wrschneider

Reputation: 18780

EGit and Stash with Eclipse - SSL hostname verification

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.

Upvotes: 1

Views: 4907

Answers (1)

VonC
VonC

Reputation: 1326706

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.

Upvotes: 3

Related Questions