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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,468 views 26 12
Join discussion

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