Backup application SSL cert error

HI, 

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: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.SunCertPathBuilderException
: unable to find valid certification path to requested target
at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java
:241) ~[wink-client-1.4.jar:1.4]
at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java
: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

Thiago,

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

673 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot