maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@codehaus.org>
Subject [jira] (WAGON-372) SSL client-side certificates stopped working in maven 3.0.4
Date Mon, 28 Jan 2013 14:31:13 GMT

    [ https://jira.codehaus.org/browse/WAGON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318172#comment-318172
] 

Oleg Kalnichevski commented on WAGON-372:
-----------------------------------------

Sorry, I should have mentioned that in my previous post. All tests when run as 'mvn clean
test' pass for me. 

---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven Wagon ................................ SUCCESS [2.100s]
[INFO] Apache Maven Wagon :: API ......................... SUCCESS [3.069s]
[INFO] Apache Maven Wagon :: Provider Test ............... SUCCESS [1.273s]
[INFO] Apache Maven Wagon :: Providers ................... SUCCESS [0.296s]
[INFO] Apache Maven Wagon :: Providers :: File Provider .. SUCCESS [1.139s]
[INFO] Apache Maven Wagon :: Providers :: FTP Provider ... SUCCESS [6.410s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library 4  SUCCESS [1.284s]
[INFO] Apache Maven Wagon :: Test Compatibility Kits ..... SUCCESS [0.214s]
[INFO] Apache Maven Wagon :: HTTP Test Compatibility Kit . SUCCESS [0.625s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Provider .. SUCCESS [2:19.005s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library  SUCCESS [1.027s]
[INFO] Apache Maven Wagon :: Providers :: Lightweight HTTP Provider  SUCCESS [1:52.511s]
[INFO] Apache Maven Wagon :: Providers :: SCM Provider ... SUCCESS [4.794s]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Library  SUCCESS [0.708s]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Tests  SUCCESS [0.543s]
[INFO] Apache Maven Wagon :: Providers :: SSH External Provider  SUCCESS [0.491s]
[INFO] Apache Maven Wagon :: Providers :: SSH Provider ... SUCCESS [0.569s]
[INFO] Apache Maven Wagon :: Providers :: WebDav Provider  SUCCESS [37.491s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:14.309s
[INFO] Finished at: Mon Jan 28 15:27:05 CET 2013
[INFO] Final Memory: 26M/205M-
---

git status
---
oleg@ubuntu:~/src/apache.org/maven/maven-wagon$ git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   wagon-providers/wagon-http-shared4/src/main/java/org/apache/maven/wagon/shared/http4/AbstractHttpClientWagon.java
#	modified:   wagon-providers/wagon-http-shared4/src/main/java/org/apache/maven/wagon/shared/http4/ConfigurableSSLSocketFactory.java
#	new file:   wagon-providers/wagon-http-shared4/src/main/java/org/apache/maven/wagon/shared/http4/ConfigurableSSLSocketFactoryDecorator.java
---

git rev-parse HEAD
---
d8b1974e91b1944efe964579b858bb54168fb70a
---

Oleg


                
> SSL client-side certificates stopped working in maven 3.0.4
> -----------------------------------------------------------
>
>                 Key: WAGON-372
>                 URL: https://jira.codehaus.org/browse/WAGON-372
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>    Affects Versions: 2.2
>         Environment: Fedora, Ubuntu
>            Reporter: Igor von Nyssen
>         Attachments: maven-httpwagen-httpclient-ssl-setup.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message