You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by wang xiao <cq...@gmail.com> on 2010/10/14 08:29:15 UTC

Error transferring file: sun.security.validator.ValidatorException:

Hi,all

I don't know how to do it correctly.


the log as follows:


Error transferring file: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.Sun

CertPathBuilderException: unable to find valid certification path to
requested t
arget


thanks
wang xiao

AW: Error transferring file: sun.security.validator.ValidatorException:

Posted by Je...@innovations.de.
Hi,

Are you trying to download an artifact from an repository via https?

It seems, that your certificate is not valid for Java (e.g. it is an self signed certificate). Add your certificate to an keystore and pass that keystore to maven (e.g. -Djavax.net.ssl.trustStore=%M2_HOME%\conf\trust.jks in your MAVEN_OPTS)

Greetings Jens



-----Ursprüngliche Nachricht-----
Von: wang xiao [mailto:cquptwangph@gmail.com] 
Gesendet: Donnerstag, 14. Oktober 2010 08:29
An: users@maven.apache.org
Betreff: Error transferring file: sun.security.validator.ValidatorException:

Hi,all

I don't know how to do it correctly.


the log as follows:


Error transferring file: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.Sun

CertPathBuilderException: unable to find valid certification path to
requested t
arget


thanks
wang xiao

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org