sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target GET '/' on Host 's3.amazonaws.com'

Google Groups | Dhananjay Bagi | 3 years ago
  1. 0

    Cannot Upload files to S3

    Google Groups | 3 years ago | Dhananjay Bagi
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target GET '/' on Host 's3.amazonaws.com'
  2. 0

    Downloading a file over https over java

    Stack Overflow | 7 years ago
    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
  3. 0

    Spring remoting using Https and tomcat

    Stack Overflow | 5 years ago | vikas
    org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://localhost:8443/aten_server/metadataservice/MetaDataService-httpinvoker]; nested exception is 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JIRA Rest API change issue status --> 401 error

    Stack Overflow | 2 years ago | user3867493
    com.atlassian.jira.rest.client.RestClientException: com.sun.jersey.api.client.ClientHandlerException: 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

    PKIX path building failed: sun.security.provide... | Oracle Community

    oracle.com | 1 year ago
    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 weeks ago
  2. tvrmsmith 4 times, last 2 months ago
  3. Dore 1 times, last 3 months ago
  4. andyglick 17 times, last 2 months ago
  5. davidvanlaatum 10 times, last 4 months ago
2 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(SunCertPathBuilder.java:174)
    2. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
    3. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
    4. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
    5. sun.security.validator.Validator.validate(Validator.java:218)
    5 frames
  3. Java JSSE
    AppOutputStream.write
    1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
    2. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
    3. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
    4. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
    5. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
    6. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    7. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
    10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
    11. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
    11 frames
  4. Java RT
    BufferedOutputStream.flush
    1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    2 frames
  5. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
    2. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
    3. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
    4. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    8 frames
  6. JetS3t
    S3Service.getBucket
    1. org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:366)
    2. org.jets3t.service.impl.rest.httpclient.RestStorageService.performRestGet(RestStorageService.java:911)
    3. org.jets3t.service.impl.rest.httpclient.RestStorageService.listAllBucketsImpl(RestStorageService.java:1285)
    4. org.jets3t.service.StorageService.listAllBuckets(StorageService.java:565)
    5. org.jets3t.service.S3Service.listAllBuckets(S3Service.java:1367)
    6. org.jets3t.service.S3Service.listAllBuckets(S3Service.java:83)
    7. org.jets3t.service.StorageService.getBucket(StorageService.java:731)
    8. org.jets3t.service.S3Service.getBucket(S3Service.java:1909)
    8 frames
  7. com.fuelquest.mothra
    AmazonS3FileUtils.uploadFileToAmazonS3
    1. com.fuelquest.mothra.common.util.AmazonS3FileUtils.uploadFileToAmazonS3(AmazonS3FileUtils.java:333)
    1 frame
  8. com.fuelquest.fqng
    DeliveryProcessingBean.onMessageExchange
    1. com.fuelquest.fqng.esb.dcs.bean.DeliveryProcessingBean.onMessageExchange(DeliveryProcessingBean.java:243)
    1 frame
  9. org.apache.servicemix
    SyncLifeCycleWrapper.onMessageExchange
    1. org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:254)
    2. org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:241)
    3. org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:630)
    4. org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:587)
    5. org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:544)
    6. org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:62)
    6 frames
  10. ServiceMix Core
    SedaQueue$1.run
    1. org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:631)
    2. org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:185)
    3. org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
    4. org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
    4 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:619)
    3 frames