Code Monkey home page Code Monkey logo

Comments (3)

gitblit avatar gitblit commented on July 30, 2024
I thought that http.sslVerify=false would prevent this from occuring.  That setting
does skip verification for self-signed certificates if the certificate CN matches the
hostname of the url.

Asking JGit team for clarification on the issue of hostname mismatches or ip address
use in url.

Reported by James.Moger on 2011-06-27 19:13:43

from gitblit.

gitblit avatar gitblit commented on July 30, 2024
I've reviewed the JGit source and discovered that JGit does not bypass hostname verification
errors despite the http.sslVerify=false setting.

I raised the issue on the JGit developer list and discovered that there is a pending
change in code review that would disregard hostname verification errors.  Its unclear
if or when this change will be incorporated as its part of a large feature patchset.

Since this is an important issue for Gitblit I released 0.5.1 which clarifies the documentation
about setting up https, your self-signed certificate, and hostnames.

I was hoping to have the certificate generation be automatic and painless, but thats
not to be the case - at least for the next few months.  Perhaps the next point release
of JGit (1.1?) will disregard hostname verification errors.

Reported by James.Moger on 2011-06-29 00:38:47

  • Status changed: Done

from gitblit.

gitblit avatar gitblit commented on July 30, 2024

Reported by James.Moger on 2011-07-27 12:15:20

  • Status changed: Fixed

from gitblit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.