Details
administration-tool.sh utility in MnR can be used to create/delete/list/get/update documentation, module, profile, reportpack, role, user, etc.
Solution
Syntax to get list of users from remote MnR server using administration-tool.sh is as:
./administration-tool.sh https://<Username>:<Password>@<Remote IP or host>:48443/Tools/Administration-Tool/Default/listUser?disableSSLValidation=falseThis query will throw error if remote server certificate is not added to server from where utility is executed.Log snippet:com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: 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..Caused by: 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 sun.security.ssl.Alert.createSSLException(Alert.java:131)..Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)In such scenario, SSLValidation can be disabled and run as: ./administration-tool.sh https://<Username>:<Password>@<Remote IP or host>:48443/Tools/Administration-Tool/Default/listUser?disableSSLValidation=trueSample output from lab:NOTE: It is necessary to open port 48443 between remote server and server from where utility is executed.