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 be Currently, 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 key section from the page.
-
https://openliberty.io/docs/latest/reference/command/securityUtility-encode.html#_usage_examples
- Update the usage example:
securityUtility encode --encoding=aes
to be securityUtility encode --encoding=aes --key=<encryption_key_string>
- Update the description for that usage example
from Encrypt a password with Advanced Encryption Standard (AES) encryption.
to be Encrypt a password with Advanced Encryption Standard (AES) encryption by specifying an encryption key string.
-
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 be In 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 be For 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 say wlp.aes.encryption.key and wlp.password.encryption.key cannot be used at the same time.
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
Currently, Open Liberty supports AES-128 encryptionto be
Currently, Open Liberty supports AES-128 and AES-256 encryptionWith 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).Use a pre-generated AES-256 keysection from the page.https://openliberty.io/docs/latest/reference/command/securityUtility-encode.html#_usage_examples
securityUtility encode --encoding=aesto be
securityUtility encode --encoding=aes --key=<encryption_key_string>from
Encrypt a password with Advanced Encryption Standard (AES) encryption.to be
Encrypt a password with Advanced Encryption Standard (AES) encryption by specifying an encryption key string.https://openliberty.io/docs/latest/password-encryption.html
In Open Liberty, you can override the default key that is used for encrypting and decrypting by setting the wlp.password.encryption.key propertyto be
In 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 propertyFor 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 serverto be
For a more secure configuration, set the encryption key property in a separate file that is stored outside the liberty installation directory<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.