Hi,


while trying to access our SSL secured Confluence, I always get this exception:

Unable to log in to server: https://confluence.xyz.de/wiki/rpc/soap-axis/confluenceservice-v1 with user: specification.
Cause: ; nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBui
lderException: unable to find valid certification path to requested target

I have imported the whole certificate chain to my local Java cacerts truststore. But the exception still occurs. Even to call directly the CLI Jar with -Dsun.security.ssl.allowUnsafeRenegotiation=true Parameter doesn't help. Always the same exception.

the command:
confluence --action getClientInfo --server "https://confluence.xyz.de/wiki/" --user "specification" --password "***"

confluence version: 4.2.12
cli version: 3.1.0

Has anybody seen this exception as well or knows what to do?

Best regards, Mike

4 answers

1 accepted

To specify explicit the java truststore seems working:

java -Djavax.net.ssl.trustStore="C:\Program Files\Java\jdk1.7.0_10\jre\lib\security\cacerts" -jar confluence-cli-3.1.0.jar --action getClientInfo --server "https://confluence.xyz/wiki/" --user "specification" --password "****"

Client version: 3.1.0, Java: Java HotSpot(TM) 64-Bit Server VM 1.7.0_10, OS: Windows 7 6.1

0 vote

Are you using client certificates?

No, should I?

0 vote

No, it's just that I'd have been interested in the answer if it was about 2-way SSL. Ignore me.

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
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 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