Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3250

Gradle using old HTTPClient lib that doesn't support SNI

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11-rc-1

      Description

      When using Gradle to build app that contains maven artefacts stored on HTTPS servers with wildcard certificates, then this error shows: hostname in certificate didn't match .
      It seams that Gradle is using Apache HttpClient library 4.2.2 which does not support SNI extensions ([1]http://en.wikipedia.org/wiki/Server_N...).
      SNI extensions have been added in HttpClient library 4.3.2.

      To make possible use of Gradle on HTTPS servers which use SNI, Apache HttpClient library should be upgraded to a newer version.
      ----------------------------------------------------------------------------------------
      [1] http://en.wikipedia.org/wiki/Server_Name_Indication

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              forums Gradle Forums
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: