Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Until Java 8 the default key store was JKS, since Java 9 the default is PKCS12.
In the studio code when we use key stores there is a mix of
- KeyStore.getInstance( KeyStore.getDefaultType() );
- KeyStore.getInstance( "JKS" );
- KeyStore.getInstance( "JCEKS" )
This needs to be cleaned up.
There is also the question if an automatic migration from existing JKS stores in existing installations .to PKCS12 is possible
Workaround is to change default keystore to JKS (property keystore.type in $JAVA_HOME/conf/security/java.security)
Reference: http://openjdk.java.net/jeps/229
Attachments
Issue Links
- is a clone of
-
DIRSERVER-2242 Keystore change from JKS to PKCS12
- Resolved
- relates to
-
DIRSTUDIO-1179 java.io.IOException: Invalid secret key format after Java update
- Closed