org.swift.common.cli.CliClient$ClientException: Invalid request: 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

JIRA | Adam Parkin | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The stash instance I'm trying to connect to only allows HTTPS connections. I've edited the stash.sh script to point to my server (https://stash.myserver.com), and for any command I get: {code} $ ./stash.sh --action getProject --project MyProject -v Server address: https://stash.myserver.com/rest/api URL requested: https://stash.myserver.com/rest/api/latest/projects/MyProject Request type: GET Content type: application/json Using basic authentication. Client error: Invalid request: 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 org.swift.common.cli.CliClient$ClientException: Invalid request: 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.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:642) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:361) at org.swift.stash.cli.StashProjectHelper.getRemoteProject(StashProjectHelper.java:168) at org.swift.stash.cli.StashProjectHelper.getProject(StashProjectHelper.java:139) at org.swift.stash.cli.StashClient.handleRequest(StashClient.java:351) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:312) at org.swift.stash.cli.StashClient.main(StashClient.java:72) {code}

    JIRA | 4 years ago | Adam Parkin
    org.swift.common.cli.CliClient$ClientException: Invalid request: 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

    The stash instance I'm trying to connect to only allows HTTPS connections. I've edited the stash.sh script to point to my server (https://stash.myserver.com), and for any command I get: {code} $ ./stash.sh --action getProject --project MyProject -v Server address: https://stash.myserver.com/rest/api URL requested: https://stash.myserver.com/rest/api/latest/projects/MyProject Request type: GET Content type: application/json Using basic authentication. Client error: Invalid request: 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 org.swift.common.cli.CliClient$ClientException: Invalid request: 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.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:642) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:361) at org.swift.stash.cli.StashProjectHelper.getRemoteProject(StashProjectHelper.java:168) at org.swift.stash.cli.StashProjectHelper.getProject(StashProjectHelper.java:139) at org.swift.stash.cli.StashClient.handleRequest(StashClient.java:351) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:312) at org.swift.stash.cli.StashClient.main(StashClient.java:72) {code}

    JIRA | 4 years ago | Adam Parkin
    org.swift.common.cli.CliClient$ClientException: Invalid request: 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

    JIRA Command Line Interface - JIRA Command Line Interface (CLI) - Confluence

    atlassian.net | 9 months ago
    org.swift.common.cli.CliClient$ClientException: Error - invalid request: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.swift.common.cli.CliClient$ClientException

      Invalid request: 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.swift.common.cli.AbstractRestClient.restRequestWithFullUrl()
    2. org.swift.common
      AbstractRestClient.restRequest
      1. org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:642)
      2. org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:361)
      2 frames
    3. org.swift.stash
      StashClient.handleRequest
      1. org.swift.stash.cli.StashProjectHelper.getRemoteProject(StashProjectHelper.java:168)
      2. org.swift.stash.cli.StashProjectHelper.getProject(StashProjectHelper.java:139)
      3. org.swift.stash.cli.StashClient.handleRequest(StashClient.java:351)
      3 frames
    4. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:312)
      2 frames
    5. org.swift.stash
      StashClient.main
      1. org.swift.stash.cli.StashClient.main(StashClient.java:72)
      1 frame