Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3230

HTTPS with self-signed certificate does not work, no error message.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.0.7
    • None
    • None

    Description

      We have a repository server that serves the same files both via HTTPS and HTTP.

      Maven is not able to find artifacts when using HTTPS. All goes well when using HTTP.

      The problem probably is that the HTTPS - certificate used by the repository server is self-signed, and Maven has not been configured to accept that certificate as genuine. (This is a guess.)

      Expected behavior: With HTTPS, build does not continue. Maven gives an error message indicating the problem is certificate-related.

      Behavior seen: Maven reacts as if there were no problem connecting the repository, but as if the artifact were missing from the repository. It continues to search other repositories as happen to be configured. (However, the artifact is clearly there, e.g., can be downloaded with "wget --no-check-certificate " via HTTPS.)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            andreas_krüger Andreas Krüger
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment