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 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
    • Number of attachments :
      2

      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

          Olivier Lamy made changes -
          Field Original Value New Value
          Project Maven 2 & 3 [ 10500 ] Maven Wagon [ 10335 ]
          Key MNG-5272 WAGON-372
          Affects Version/s 2.2 [ 18090 ]
          Affects Version/s 3.0.4 [ 17215 ]
          Component/s wagon-ftp [ 12159 ]
          Component/s Command Line [ 11982 ]
          Component/s Deployment [ 12029 ]
          Complexity Intermediate [ 10011 ]
          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 -
          Oleg Kalnichevski made changes -
          Olivier Lamy made changes -
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 2.4 [ 18697 ]
          Olivier Lamy made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Herve Boutemy made changes -
          Link This issue is related to MNG-5175 [ MNG-5175 ]

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Igor von Nyssen
            • Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: