Getting java error when trying to generate certificate for GroupWise agents

  • 7023806
  • 04-Apr-2019
  • 25-Jun-2019

Environment

GroupWise 18
GroupWise 18.1
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
SUSE Linux Enterprise Server 15

Situation

When trying to generate certificate in the GroupWise admin console for GroupWise agents getting error:

* Remote resource ( <server info> ) returned error: class com.novell.gw.api.rest.security.NodeAuthentication cannot be cast to class org.springframework.security.authentication.UsernamePasswordAuthenticationToken (com.novell.gw.api.rest.security.NodeAuthentication and org.springframework.security.authentication.UsernamePasswordAuthenticationToken are in unnamed module of loader 'app')

Resolution

This issue has been reported to engineering. A workaround to get the agents to use SSL is to create a self-signed certificate manually at the command line:

1. Make a new directory i.e. /root/certs

2. Change to the new directory

3. Using openssl, create a self signed cert and key. 
TID on creating self-signed certificates: https://support.microfocus.com/kb/doc.php?id=7023144

4. In the GroupWise admin console, go to the POA object > SSL tab > and point to the newly created directory where the self-signed certificates are located then save.

5. Restart agent 

NOTE: If a passphrase was set on the certificate/key in step 3 then the same passphrase will need to be set in GroupWise. In the GroupWise admin console > POA object > SSL tab under "Set Password"





Status

Reported to Engineering