|Re: [jgit-dev] Disabling SSL Verification / Using Self-Signed Certs|
Improvements to self-signed https handling is something Gitblit is
interested in as well.
Namely, AFAIK, JGit still performs hostname verification of the
self-signed certificate regardless of http.sslVerify=false. So if I
sign for localhost and then serve on 10.0.1.5 JGit will fail to
push/pull to 10.0.1.5 because the serving hostname does not match the
This behavior is inconsistent with CGit where http.sslVerify will ignore
hostname verification failure. JGit needs a DummyHostnameVerifier class
just like it has the DummyX509TrustManager.
When JGit encounters this scenario it will fail with:
https://126.96.36.199:8443/git/xyzrepo1.git: cannot open
pushed fix for review https://git.eclipse.org/r/#/c/10809/Give it a try and let us know if this solves your problem.--Matthias
jgit-dev mailing list
Back to the top