Creating a Keystore With a Username and Password

You can create a keystore that contains a username and password by editing data and build files and running an Ant script.

    Procedure
  1. Go to the TIBCO_HOME/administrator/<version_number>/samples/ directory.
  2. Open the keystore_data.xml data file and edit the following attributes of the CredentialEntry element:
    AttributeDescription
    aliasAlias identifying the keystore entry.
    protectionParamPassword that protects the keystore entry.
    usernameUsername.
    secretPassword.
 
>ant -f keystore_build.xml addCredential
Buildfile: C:\amx320\administrator\<version_number>\samples\keystore_build.xml

addCredential:
[AMXKeyStoreTask]  INFO - Keystore file C:\amx320data\admin\amxadmin\samples\my_keystore.jceks does not exist; creat
ing a new keystore file
[AMXKeyStoreTask] Adding entry for alias 'myDatabase'...
[AMXKeyStoreTask] Adding entry for alias 'myLDAP'...
[AMXKeyStoreTask] Saving to keystore file C:\amx320\administrator\<version_number>\samples\my_keystore.jceks

BUILD SUCCESSFUL
Total time: 12 seconds