]> source.dussan.org Git - jgit.git/commit
Support for self signed certificate (HTTPS) 18/2318/2
authorPer Salomonsson <per@psnet.nu>
Wed, 26 Jan 2011 00:16:24 +0000 (01:16 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 26 Jan 2011 00:17:01 +0000 (01:17 +0100)
commitd49530ad861ee7053ca1a92d619f127b5d6bc3a1
tree855530600ce0afb589b290afb8d1524c2f7bd42c
parentf21495255211042c6fcc4cc6f7f5af2bf750f647
Support for self signed certificate (HTTPS)

Add possibility to disable ssl verification, just as i can do with git
using: git config --global http.sslVerify false

To enable the feature, configure
Window->Preferences->Team->Git->Configuration
and add a new key/value: http.sslVerify=false

When handling repos over https, JGit will then check that flag to see
if security is loose and the ssl verification should be ignored.

Having it implemented as a key/value makes it not too obvious in the
GUI - so the user must know what he/she is doing when adding it. Being
aware of the risks etc.

Bug: 332487
Change-Id: I2a1b8098b5890bf512b8dbe07da41036c0fc9b72
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java