-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share LTPA key between app instances using default and custom encryption keys #615
Comments
The question that arose was whether an I tested the following and I believe it confirms that ltpa.keys can be shared as long as the original (plain text) LTPA password is encrypted accordingly (using the appropriate default/custom key) and set in server config (using the Step 1 : Generate LTPA key with default encryption key:ltpa.keys was generated by the following command: securityUtility createLTPAKeys --file=ltpa.keys --password=mypassword --passwordEncoding=aes Step 2: Add LTPA server config:<?xml version="1.0" encoding="UTF-8"?>
<server>
<ltpa keysFileName="${server.config.dir}/managedLTPA/ltpa.keys" keysPassword="{aes}AN4QZlt4JCdRVhzoOphGMnTETt9gYZSqax3RSnUVHH/FcydnjHmIwvXJyiYKMc900g==" />
</server> Step 3: Server log showed that the LTPA was processed successfully:
Step 4: Added
|
@arkarkala This is the workitem related to our discussion on sharing ltpa.keys between different Liberty servers (where some use the default password encryption key while others use a custom password encryption key). I believe the above tests results validate your statement: "passwordKey is used to encrypt the ltpa.password. the plain text ltpa.password is used to encrypt the keys in the ltpa.keys file" Please review and let us know if you see any problems with this proposed approach or for any reason the ltpa.keys can not (or must not) be shared in this manner. |
Share the LTPA key between OpenLibertyApplication CR instances using the default password encryption key and those using custom password encryption key (specified via
wlp.password.encryption.key
variable).ltpa
element andkeyPassword
according to the usage ofwlp.password.encryption.key
securityUtil encode
The text was updated successfully, but these errors were encountered: