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
- Go to the TIBCO_HOME/administrator/<version_number>/samples/ directory.
- Open the
keystore_data.xml data file and edit the
following attributes of the
CredentialEntry
element:Attribute Description alias Alias identifying the keystore entry. protectionParam Password that protects the keystore entry. username Username. secret Password.
>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