-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
Description
Please describe the problem you are having with the documentation. Is information missing, inaccurate, or unclear? Tell us about the context where you encountered the problem so we can understand how to address it.
doc page:
-
https://openliberty.io/docs/latest/server-configuration-hardening.html#password-encryption
- Update
Currently, Open Liberty supports AES-128 encryption
to beCurrently, Open Liberty supports AES-128 and AES-256 encryption - Update
With AES encryption, the default encryption key that is used for decryption can be overridden by setting the wlp.password.encryption.key property. This property must not be set in the server.xml file, but in a separate configuration file that is included by the server.xml file. This separate configuration file must contain only a single property declaration, and must be stored outside the normal configuration directory for the server.
to be
With AES encryption, an encryption key must configured for decryption. The encryption key can be configured by setting either the wlp.password.encryption.key or wlp.aes.encryption.key variable. This variable must not be set in the server.xml file, but in a separate configuration file that is included by the server.xml file. This separate configuration file must contain only a single property declaration, and must be stored outside the liberty installation directory. For more information on setting wlp.aes.encryption.key, see [Bring your own AES-256 key for Liberty passwords](https://openliberty.io/docs/latest/bring-your-own-aes-256-key.html). - Remove the
Use a pre-generated AES-256 keysection from the page.
- Update
-
https://openliberty.io/docs/latest/reference/command/securityUtility-encode.html#_usage_examples
- Update the usage example:
securityUtility encode --encoding=aes
to besecurityUtility encode --encoding=aes --key=<encryption_key_string> - Update the description for that usage example
fromEncrypt a password with Advanced Encryption Standard (AES) encryption.
to beEncrypt a password with Advanced Encryption Standard (AES) encryption by specifying an encryption key string.
- Update the usage example:
-
https://openliberty.io/docs/latest/password-encryption.html
- Update
In Open Liberty, you can override the default key that is used for encrypting and decrypting by setting the wlp.password.encryption.key property
to beIn Open Liberty, you can configure the encryption key that is used for encrypting and decrypting by setting either the wlp.password.encryption.key property or wlp.aes.encryption.key property - Update
For a more secure configuration, set the wlp.password.encryption.key property in a separate file that is stored outside the normal configuration directory for the server
to beFor a more secure configuration, set the encryption key property in a separate file that is stored outside the liberty installation directory - Update the example to have
<variable name="wlp.aes.encryption.key" value="<your_aes_key>" />or<variable name="wlp.password.encryption.key" value="yourKey" />and add a note to saywlp.aes.encryption.keyandwlp.password.encryption.keycannot be used at the same time.
- Update
Reactions are currently unavailable