Forum Stats

  • 3,851,445 Users
  • 2,263,978 Discussions
  • 7,904,711 Comments

Discussions

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

Hi,
I hosted few web services on Java Cloud.
when i tried to consume services through swing application i face bellow error message.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:151)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:133)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93)
at javax.xml.ws.Service.<init>(Service.java:56)
at zamil.itg.workspace.loginImpl.LoginImplService.<init>(LoginImplService.java:68)
at zamil.itg.dme.util.ServiceImpl.getLoginDaoImpl(ServiceImpl.java:43)
at zamil.itg.dme.dao.LoginDAO.userLogin(LoginDAO.java:36)
at zamil.itg.dme.mainApps.Login_Screen$ProgressAuthentication.run(Login_Screen.java:398)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

can anybody tell me solution for the same
Tagged:
This discussion has been closed.