Maven Wagon
  1. Maven Wagon
  2. WAGON-372

SSL client-side certificates stopped working in maven 3.0.4

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4
    • Component/s: wagon-http
    • Labels:
      None
    • Environment:
      Fedora, Ubuntu

      Description

      The following command works perfectly in Maven 3.0.3, but 3.0.4 does not seem to open the key store and therefore client side certificate authentication fails as maven never presents a certificate to the server.

      mvn deploy -Djavax.net.ssl.keyStore=/home/<user>/ssl/key.p12 -Djavax.net.ssl.keyStorePassword=****** -Djavax.net.ssl.keyStoreType=pkcs12

      adding -Djavax.net.debug=all reveals that the keystore is never loaded. Confirmed with strace that the keystore file is never touched or opened.

        Issue Links

          Activity

          Igor von Nyssen created issue -
          Olivier Lamy (*$^¨%`£) made changes -
          Field Original Value New Value
          Project Maven 2 & 3 [ 10500 ] Maven Wagon [ 10335 ]
          Component/s wagon-ftp [ 12159 ]
          Affects Version/s 2.2 [ 18090 ]
          Component/s Deployment [ 12029 ]
          Complexity Intermediate [ 10011 ]
          Key MNG-5272 WAGON-372
          Affects Version/s 3.0.4 [ 17215 ]
          Component/s Command Line [ 11982 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Component/s wagon-http [ 12151 ]
          Component/s wagon-ftp [ 12159 ]
          Robert Scholte made changes -
          Link This issue is depended upon by MNG-5363 [ MNG-5363 ]
          Oleg Kalnichevski made changes -
          Attachment maven-httpwagen-httpclient-ssl-setup.patch [ 62478 ]
          Oleg Kalnichevski made changes -
          Attachment maven-httpwagen-httpclient-ssl-setup-refactoring.patch [ 62480 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 2.4 [ 18697 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Hervé Boutemy made changes -
          Link This issue is related to MNG-5175 [ MNG-5175 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:30:21 UTC 2015 [ 1428240621566 ]
          Mark Thomas made changes -
          Workflow jira [ 12729095 ] Default workflow, editable Closed status [ 12765167 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:53:53 UTC 2015 [ 1428285233407 ]
          Mark Thomas made changes -
          Workflow jira [ 12966632 ] Default workflow, editable Closed status [ 13002176 ]

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Igor von Nyssen
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development