New WebAccess installation on Windows server does not create .keystore file

  • 7023605
  • 21-Dec-2018
  • 21-Dec-2018

Environment

GroupWise 18

Situation

No keystore cert file created by the install process.

When testing with an upgrade of to a lab system from 18.0.2 into 18.1. That went fine except WebAccess .. so the installation was re-run again and went for uninstall option.
After that all the files from the C:\Novell\Groupwise directory and the installation was re-run again. The install does not create the certificate store file and therefore tomcat does not start:

Caused by: java.lang.IllegalArgumentException: C:\Novell\GroupWise\Tomcat\conf\.keystore (The system cannot find the file specified)

Resolution

This has been reported to engineering.

This can be fixed by using the workaround of generating self-signed cert using the keytool application. A pwd needs to be changed otherwise it will complain and not load again:

c:\Program Files\Java\jre1.8.0_191\bin>keytool.exe -genkey -alias tomcat -keyalg
 RSA -keystore D:\cert\.keystore
Enter keystore password:
Re-enter new password:
What is your first and last name?
  [Unknown]:  localhost
What is the name of your organizational unit?
  [Unknown]:  GW
What is the name of your organization?
  [Unknown]:  MF
What is the name of your City or Locality?
  [Unknown]:  Provo
What is the name of your State or Province?
  [Unknown]:  Utah
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=localhost, OU=GW, O=MF, L=Provo, ST=Utah, C=US correct?
  [no]:  yes

Enter key password for <tomcat>
        (RETURN if same as keystore password):
Re-enter new password:

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS
12 which is an industry standard format using "keytool -importkeystore -srckeyst
ore D:\cert\.keystore -destkeystore D:\cert\.keystore -deststoretype pkcs12".

c:\Program Files\Java\jre1.8.0_191\bin>