0 Replies Latest reply on Aug 4, 2016 2:51 PM by Prathyusha Reddy

    Getting a SunCertPathBuilderException while installing jbpm

    Prathyusha Reddy Newbie

      Hi,

       

      I am new to JBPM and drools. I am trying to install jbpm and drools in my laptop, but i am getting a SunCertPathBuilderException exception which is blocking my installation. Request you to kindly suggest on how to overcome this exception.

       

      Exception Trace:

       

      BUILD FAILED

      C:\softwares\jbpm-installer\build.xml:293: javax.net.ssl.SSLHandshakeException:

      sun.security.validator.ValidatorException: PKIX path building failed: sun.securi

      ty.provider.certpath.SunCertPathBuilderException: unable to find valid certifica

      tion path to requested target

              at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

              at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)

              at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)

              at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)

              at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.

      java:1509)

              at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.jav

      a:216)

              at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)

              at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)

              at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)

              at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.

      java:1375)

              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403

      )

              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387

      )

              at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:

      559)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect

      (AbstractDelegateHttpsURLConnection.java:185)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLCon

      nectionImpl.java:153)

              at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:7

      28)

              at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:641)

              at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:631)

      Caused by: sun.security.validator.ValidatorException: PKIX path building failed:

      sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali

      d certification path to requested target

              at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)

              at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.jav

      a:292)

              at sun.security.validator.Validator.validate(Validator.java:260)

              at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.j

      ava:324)

              at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerIm

      pl.java:229)

              at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustMan

      agerImpl.java:124)

              at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.

      java:1491)

              ... 13 more

      Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to

      find valid certification path to requested target

              at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBu

      ilder.java:141)

              at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCert

      PathBuilder.java:126)

              at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)

              at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)

              ... 19 more

       

       

      Total time: 58 seconds