Hello,

Are you talking about Maven Central, are private Repo or maybe some Proxy 
certificate? Normally the default cacerts trust Store contains a root 
certificate which is used by Maven central (and other public sites). For a Repo 
with company certificate you normally add the company root ca once.


--
http://bernd.eckenfels.net
________________________________
Von: Raghavendra Chilakalapudi (rchilakalapu) <[email protected]>
Gesendet: Tuesday, June 16, 2020 11:56:18 AM
An: [email protected] <[email protected]>
Betreff: Re: PKIX path building error with Azul ZULU Open JDK 14

Thanks for the reply.
When I add the maven certificate to JRE certs, its working fine.
But every time there is change at maven side, I need to add the certification 
again.
Is there anything we can add to the setttings?

Thanks,
Raghavendra CH

On 2020/06/16 09:23:19, Michael Osipov <[email protected]> wrote:
> Am 2020-06-15 um 14:54 schrieb Raghavendra Chilakalapudi (rchilakalapu):>
> > Hi,>
> > >
> > Query :>
> > I am using Azul Zulu Open JDK (14.0)  and planning to integrate with Maven.>
> > But getting following error when running mvn command for archetype plugin :>
> > >
> > PKIX path building failed: 
> > sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> > valid certification path to requested target.>

> > >
> > Do I need to add anything specific in settings.xml for resolve this 
> > certification issue?>
> > >
> > Could you please help me out to resolve the issue as soon as possible.>
>
> This is not Maven problem. Add your CA to cacerts.>
>
> --------------------------------------------------------------------->
> To unsubscribe, e-mail: [email protected]>
> For additional commands, e-mail: [email protected]>
>
>

Reply via email to