You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Cartwright <Jo...@noaa.gov> on 2009/10/21 00:21:36 UTC

SunCertPathBuilderException

Hello All,

We have a local repository located behind SSL using a self-signed certificate.  When maven tries to retrieve an artifact from it, I get the following exception:

Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Can someone please help me configure my pom.xml to work around this?

Thanks!

--john



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


Re: SunCertPathBuilderException

Posted by John Cartwright <Jo...@noaa.gov>.
Thanks Martin, that helped a lot.  The link for the instructions on
configuring JSSE to use this new jssecacert file as the truststore was
broken, but I simply replaced the $JAVA_HOME/jre/lib/security/cacerts w/ it.

--john


Martin Gainty wrote:
> did you get a chance to add the PKIX certificate to your trusted keystore?
> http://blogs.sun.com/andreas/entry/no_more_unable_to_find
> Martin Gainty 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>   
>> Date: Tue, 20 Oct 2009 16:21:36 -0600
>> From: John.C.Cartwright@noaa.gov
>> Subject: SunCertPathBuilderException
>> To: users@maven.apache.org
>>
>> Hello All,
>>
>> We have a local repository located behind SSL using a self-signed certificate.  When maven tries to retrieve an artifact from it, I get the following exception:
>>
>> Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
>>
>>
>> Can someone please help me configure my pom.xml to work around this?
>>
>> Thanks!
>>
>> --john
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>     
>  		 	   		  
> _________________________________________________________________
> Hotmail: Trusted email with powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141665/direct/01/
>   

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


RE: SunCertPathBuilderException

Posted by Martin Gainty <mg...@hotmail.com>.
did you get a chance to add the PKIX certificate to your trusted keystore?
http://blogs.sun.com/andreas/entry/no_more_unable_to_find
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Tue, 20 Oct 2009 16:21:36 -0600
> From: John.C.Cartwright@noaa.gov
> Subject: SunCertPathBuilderException
> To: users@maven.apache.org
> 
> Hello All,
> 
> We have a local repository located behind SSL using a self-signed certificate.  When maven tries to retrieve an artifact from it, I get the following exception:
> 
> Error transferring file: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> 
> 
> Can someone please help me configure my pom.xml to work around this?
> 
> Thanks!
> 
> --john
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/