Details
-
Fix
-
Status: Approved (View Workflow)
-
Major
-
Resolution: Fixed
-
2.8.1
-
None
-
None
Description
Current Situation
- JOC Cockpit raises the "ava.lang.IllegalStateException: KeyManagerFactoryImpl is not initialized" if only a Keystore or only a Truststore is configured with the joc.properties file.
- Users, who do not make use of a truststore configured with the joc.properties file are affected by this error:
- Releases prior to 2.8.1 fall back to using the cacerts truststore provided by Java.
- Release 2.8.1 does not use a default truststore if the setting is not used.
Desired Behavior
- JOC Cockpit should not throw an IllegalStateException if only a Keystore is configured in the joc.properties file.
- JOC Cockpit should fall back to using the cacerts truststore provided by Java.
Workaround
- Users who did not use the truststore setting can configure the truststore in the joc.properties file like this:
truststore_path = C:\\ProgramFiles\\Java\\jdk21.0.6_7\\lib\\security\\cacerts truststore_type = PKCS12 truststore_password = changeit
-
- The truststore_path setting must be adjusted to the related location of Java.
- The truststore_type makes use of the constant value PKCS12.
- The indicated truststore_password is the default used by every Java version.
Attachments
Issue Links
- is affected by
-
JITL-754 Migrate Apache HttpClient to Java SDK HttpClient across modules
-
- Released
-