Changing config_ant utility password properties file
Add passwords to a properties file so that you can hide passwords from the command prompt
when you run the config_ant utility.
About this task
Encrypt and then store passwords in a properties file to protect passwords from being viewed or stolen from the command prompt screen. A sample password properties file is provided: WC_installdir/config/deployment/properties/passwordFile.properties
You can store passwords that you would normally need to use when you run the config_ant utility. For example:
- dbaPassword
- dbUserPassword
- siteAdminPassword
- SolrWASAdminPassword
When you run the config_ant utility, you can specify some passwords on the command line and also pass the properties file as a parameter. Command-line passwords always take priority over passwords that are stored in the properties file.
Important:
- Parameters are case-sensitive. Ensure that the parameter names are entered correctly in the properties file.
- You must store the ASCII encrypted password to the properties file.
Procedure
What to do next
-DpasswordFile
parameter
when you run the config_ant utility.