Changes a default keystore to a custom keystore, or a custom keystore to a default keystore.
To change the keystore from default to custom, you provide the custom keystore name and alias in the command. To change the keystore from custom to default, you provide the database user name and password within the command. In both scenarios you must provide the database path.
Path is a required parameter. If you want to change the keystore from default to custom, both keystore name and alias are required parameters. If you want to change the keystore from custom to default, both user name and password are required parameters. Do not use both sets of parameters in the same command invocation.
You can also set another alias in a database object. The alias must already exist in the designated keystore. You can set the alias, the keystore name, or both.
The setKeyStore command uses the following parameters:
path
Path to the database configured for use with the keystore that you want to change.
storeName
Name of the keystore that you want to change.
alias
Alias name of the keystore.
user
Username to access the database configured for use with the keystore.
password
Password for the database configured for use with the keystore.