securityUtility createLTPAKeys command creates a set of LTPA keys for use by the server, or that can be shared with multiple servers. If no server or file is specified, an
ltpa.keys file is created in the current working directory.
Create LTPA keys with the
mypassword password that is encrypted with Advanced Encryption Standard (AES) encryption:
securityUtility createLTPAKeys --password=mypassword --passwordEncoding=aes
Run the command from the
securityUtility createLTPAKeys --password=pwd [options]
The password for the LTPA key. If no value is specified, you’re prompted for a value. when you run this command.
The file in which to write the LTPA keys. This option can’t be used if the
Specifies how to encode the LTPA keys password in the
Specifies the key to use to encode an LTPA keys password with AES encryption. This string is hashed to produce an encryption key that is used to encrypt and decrypt the password. You can provide the key by defining the
Specifies the name of the Open Liberty server for which the LTPA keys are created. This option can’t be used if the
The following exit codes are available for the
securityUtility createLTPAKeys command:
This code indicates successful completion of the requested operation.
This code indicates a generic error.
This code indicates that the server is not found.
This code indicates that the client is not found.
This code indicates that the path can not be created.
This code indicates that the file already exists.