Confluence Command Line Interface Not working

Bill Brinkley July 13, 2022

Good afternoon, I installed CLI on a Redhat Linux server successfully. When I issue acli -a getClientInfo I get this response: Client name: cli, Client version: 10.3.0, Client build: 2022-07-01T02:05:36, Java: Substrate VM 17.0.3, OS: Linux 4.18.0-372.9.1.el8.x86_64. The Java information is missing. I verified the $JAVA_HOME is set correctly. What am I missing? When I issue a command to access Confluence such as getSpaceList I get this error message: Client error: Invalid request: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

Thanks

1 answer

0 votes
Caleb Principe August 25, 2022

You probably figured it out, but for anyone else who might have this problem:

 

Make sure you have your Certificate Authority's certificate in the $JAVA_HOME/lib/security/cacerts installed using $JAVA_HOME/bin/keytool.

If it's a self signed web cert, install it on the cacerts.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events