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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice. I am glad it helped.
Thiago,
DevTools Support - Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.