Reporter client in Windows cannot enable SSL
search cancel

Reporter client in Windows cannot enable SSL

book

Article ID: 228736

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Reporter server is configured with SSL enabled.

When trying to enable SSL on Reporter client, the command has two problems:

1. The command line is calling the wrong class: com.orsyp.reppub.client.commandline.unisslcmd instead of com.orsyp.reppub.client.commandline.unisslclientcmd (in Linux the correct class is called)

This generates the error:

C:\NODE_FOLDER\reporter_client\exec>unissl SET -enable on
The server needs to be stopped before executing this command. Do you really want to continue ? Y/N
Y
Error, no keystore found. You first need to create the keystore

2. The exec folder of the reporter_client is missing commons-lang.jar necessary for the command unissl:

[root@hostname exec]# ./unissl SET -enable ON
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils
at com.orsyp.util.ssl.SSLCertifRequest.requestCertificate(SSLCertifRequest.java:137)
at com.orsyp.reppub.client.commandline.unisslclientcmd.SetUniSSL.<init>(SetUniSSL.java:60)
at com.orsyp.reppub.client.commandline.unisslclientcmd.SetUniSSL.main(SetUniSSL.java:171)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.ArrayUtils
 

Environment

Release : 6.x

Component : Reporter Client

OS: Windows and Linux

Cause

Defect

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Reporter Client
Dollar Universe 6.10.91 - Available

Additional Information

Workaround:

For Windows:
1. Edit the uniss.bat and replace

"%JAVA_ORSYP%\bin\java" -cp "%SRVNET_DIR%\..\exec\RepClient.jar" com.orsyp.reppub.client.commandline.unisslcmd.SetUniSSL %*

by

"%JAVA_ORSYP%\bin\java" -cp "%SRVNET_DIR%\..\exec\RepClient.jar" com.orsyp.reppub.client.commandline.unisslclientcmd.SetUniSSL %*

2. Copy from the Reporter server exec folder the commons-lang.jar and put it in the Reporter client exec folder

For Linux:
1. Copy from the Reporter server exec folder the commons-lang.jar and put it in the Reporter client exec folder