org.cloudfoundry.client.lib.org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://api.ghecf.lab.emc.com/info":sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; 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

Google Groups | lynn.x...@gmail.com (JIRA) | 8 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

    [JIRA] (JENKINS-37436) unable to find valid certification path to requested target;

    Google Groups | 8 months ago | lynn.x...@gmail.com (JIRA)
    org.cloudfoundry.client.lib.org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://api.ghecf.lab.emc.com/info":sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; 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

    Root Cause Analysis

    1. org.cloudfoundry.client.lib.org.springframework.web.client.ResourceAccessException

      I/O error on GET request for "https://api.ghecf.lab.emc.com/info":sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; 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

      at org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.doExecute()
    2. org.cloudfoundry.client
      RestTemplate.doExecute
      1. org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:558)
      1 frame
    3. Cloud Foundry Java Client Library
      LoggingRestTemplate.doExecute
      1. org.cloudfoundry.client.lib.rest.LoggingRestTemplate.doExecute(LoggingRestTemplate.java:54)
      1 frame
    4. org.cloudfoundry.client
      RestTemplate.getForObject
      1. org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.execute(RestTemplate.java:503)
      2. org.cloudfoundry.client.lib.org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:240)
      2 frames
    5. Cloud Foundry Java Client Library
      CloudControllerClientFactory.newCloudController
      1. org.cloudfoundry.client.lib.rest.CloudControllerClientFactory.getInfoMap(CloudControllerClientFactory.java:101)
      2. org.cloudfoundry.client.lib.rest.CloudControllerClientFactory.createOauthClient(CloudControllerClientFactory.java:91)
      3. org.cloudfoundry.client.lib.rest.CloudControllerClientFactory.newCloudController(CloudControllerClientFactory.java:75)
      3 frames