Backup application SSL cert error


Trying to get the backup application to work, getting below error. I have a externally trusted CA cert installed and the Bitbucket web server runs SSL fine so I don't know why this is failing at time of trying to launch the backup jar file?


$ java -jar bitbucket-backup-client.jar
2016-06-22 12:11:10,129 INFO Initializing
2016-06-22 12:11:13,723 ERROR A backup could not be created
org.apache.wink.client.ClientRuntimeException: java.lang.RuntimeException: javax
.net.ssl.SSLHandshakeException: PKIX
path building failed:
: unable to find valid certification path to requested target
at org.apache.wink.client.internal.ResourceImpl.invoke(
:241) ~[wink-client-1.4.jar:1.4]
at org.apache.wink.client.internal.ResourceImpl.invoke(
:189) ~[wink-client-1.4.jar:1.4]
... 19 more frames available in the log file

2 answers

1 accepted

That was it thanks,


from your link there is this one as well, I used the Command line install at the bottom after Portecle would not allow me to save the keystore after importing  the public cert. I even tried installing the Unlimited jurisdiction jars but still nothing, nonetheless Openssl was able to do the job. 

Nice. I am glad it helped. smile


DevTools Support - Atlassian

This error means that the certificate is not trusted by the java runtime. Which is the CA which issued the Bitbucker certificate and which JVM are you using (output of java -version will be helpful)?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

244 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you