org.swift.common.cli.CliClient$ClientException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Adam Parkin,
  • 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}
    via by 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 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)
    No Bugmate found.