javax.net.ssl.SSLException: Connection has been shutdown: 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

com.br | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Erro ao enviar NFE - Java - GUJ

    com.br | 7 months ago
    javax.net.ssl.SSLException: Connection has been shutdown: 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
  2. 0

    java-ee - Me ajudem não consigo transmitir Nota fiscal E nested exception is: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHands

    com.br | 1 year ago
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
  3. 0

    Erro inesperado no Programa Emissor da NF-E - Página 2

    com.br | 9 months ago
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAVA - Tomcat 5 Application connecting to Web Service using HTTPS, while Tomcat 7 Application does not

    Stack Overflow | 4 years ago | Ryan S
    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
  6. 0

    Send mail using Java Mail API

    Stack Overflow | 1 year ago | Avi
    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

  1. Andreas Häber 8 times, last 3 months ago
  2. jf-ast 1 times, last 3 weeks ago
  3. Alireza Mohamadi 5 times, last 2 months ago
  4. eti22 9 times, last 2 months ago
  5. tvrmsmith 4 times, last 5 months ago
5 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. sun.security.provider.certpath.SunCertPathBuilderException

    unable to find valid certification path to requested target

    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
    2. java.security.cert.CertPathBuilder.build(Unknown Source)
    3. sun.security.validator.PKIXValidator.doBuild(Unknown Source)
    4. sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
    5. sun.security.validator.Validator.validate(Unknown Source)
    5 frames
  3. Java JSSE
    AppOutputStream.write
    1. sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
    2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
    3. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    4. sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    5. sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    6. sun.security.ssl.Handshaker.processLoop(Unknown Source)
    7. sun.security.ssl.Handshaker.process_record(Unknown Source)
    8. sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    10. sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
    11. sun.security.ssl.AppOutputStream.write(Unknown Source)
    11 frames
  4. Java RT
    BufferedOutputStream.write
    1. java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2. java.io.BufferedOutputStream.write(Unknown Source)
    2 frames
  5. HttpClient
    ChunkedOutputStream.write
    1. org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68)
    2. org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
    3. org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:179)
    3 frames
  6. Java RT
    BufferedWriter.flush
    1. sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
    2. sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
    3. sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
    4. sun.nio.cs.StreamEncoder.flush(Unknown Source)
    5. java.io.OutputStreamWriter.flush(Unknown Source)
    6. java.io.PrintWriter.flush(Unknown Source)
    7. java.io.BufferedWriter.flush(Unknown Source)
    7 frames
  7. Axis Web Services
    CommonsHTTPSender$MessageRequestEntity.writeRequest
    1. org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
    2. org.apache.axis.Message.writeTo(Message.java:539)
    3. org.apache.axis.transport.http.CommonsHTTPSender$MessageRequestEntity.writeRequest(CommonsHTTPSender.java:841)
    3 frames
  8. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
    2. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2110)
    3. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1088)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    6 frames
  9. Axis Web Services
    Call.invoke
    1. org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
    2. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    3. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    4. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    5. org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    6. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    7. org.apache.axis.client.Call.invoke(Call.java:2767)
    8. org.apache.axis.client.Call.invoke(Call.java:2443)
    9. org.apache.axis.client.Call.invoke(Call.java:2366)
    10. org.apache.axis.client.Call.invoke(Call.java:1812)
    10 frames
  10. br.gov.sp
    ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4$$FastClassByCGLIB$$bd1db0df.invoke
    1. br.gov.sp.fazenda.dsnp.ws.arquivo.ArquivoNF_Mod1Soap12_BindingStub.enviar(ArquivoNF_Mod1Soap12_BindingStub.java:125)
    2. br.gov.sp.fazenda.dsnp.model.business.WSBusiness.enviar(WSBusiness.java:43)
    3. br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness.transmitirArquivo(ArquivoBusiness.java:85)
    4. br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4.CGLIB$transmitirArquivo$4(<generated>)
    5. br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4$$FastClassByCGLIB$$bd1db0df.invoke(<generated>)
    5 frames
  11. IDEA
    MethodProxy.invokeSuper
    1. net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
    1 frame
  12. br.gov.sp
    EnviarConsultarProgressController$1.doInBackground
    1. br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
    2. br.gov.sp.fazenda.dsnp.model.business.ArquivoBusiness$$EnhancerByCGLIB$$aee3ac4.transmitirArquivo(<generated>)
    3. br.gov.sp.fazenda.dsnp.model.facade.ArquivoFacade.transmitirArquivo(ArquivoFacade.java:67)
    4. br.gov.sp.fazenda.dsnp.controller.EnviarConsultarProgressController$1.doInBackground(EnviarConsultarProgressController.java:86)
    4 frames
  13. Java RT
    Thread.run
    1. javax.swing.SwingWorker$1.call(Unknown Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. javax.swing.SwingWorker.run(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    7. java.lang.Thread.run(Unknown Source)
    7 frames