Liberty runtime removed the default LTPA key password in 26.0.0.4. More details are here.
Note that this change doesn't impact users with keysPassword already defined in the <ltpa /> element. For example, the LTPA managed by manageLTPA feature of Liberty Operator is NOT impacted.
Liberty runtime would use keystore_password from server.env, from server creation time, to re-encrypt the LTPA keys in the ltpa.keys file, but server.env is not included with Liberty container images as server is created as part of building official Liberty container images and server.env is not shipped - to avoid shipping the same passwords to all users.
It seems that setting a random password for ltpa_keys_password environment variable as part of the Liberty container startup script, if the env is not already set by user, would avoid the runtime exception, but we need to first confirm with Security team that it won’t override any config from user for LTPA under any scenario as well as test and validate.
We should also add a variable to skip the generation of this password: i.e. GENERATE_LTPA_KEYS_PASSWORD
Liberty runtime removed the default LTPA key password in 26.0.0.4. More details are here.
Note that this change doesn't impact users with
keysPasswordalready defined in the<ltpa />element. For example, the LTPA managed bymanageLTPAfeature of Liberty Operator is NOT impacted.Liberty runtime would use
keystore_passwordfromserver.env, from server creation time, to re-encrypt the LTPA keys in theltpa.keysfile, butserver.envis not included with Liberty container images as server is created as part of building official Liberty container images andserver.envis not shipped - to avoid shipping the same passwords to all users.It seems that setting a random password for
ltpa_keys_passwordenvironment variable as part of the Liberty container startup script, if the env is not already set by user, would avoid the runtime exception, but we need to first confirm with Security team that it won’t override any config from user for LTPA under any scenario as well as test and validate.We should also add a variable to skip the generation of this password: i.e.
GENERATE_LTPA_KEYS_PASSWORD