The PropFilePasswordEncoder command encodes passwords that are located in plain text property files. This command encodes both Secure Authentication Server (SAS) property files and non-SAS property files. After you encode the passwords, a decoding command does not exist.
To run this script, your user profile must have
*ALLOBJ authority.
PropFilePasswordEncoder "file_name" { passwordPropertiesList | -SAS } [ -profileName profile ] [ -help | -? ]
PropFilePasswordEncoder "fileName" { passwordPropertiesList | -SAS } [ -profileName profile ] [ -help | -? ]
The following option is available for the PropFilePasswordEncoder command:
PropFilePasswordEncoder "file_name"
PropFilePasswordEncoder "file_name" password_properties_list
PropFilePasswordEncoder "file_name" -SAS
app_server_root/bin/PropFilePasswordEncoder profile_root/default/properties/sas.client.props -SAS
app_server_root/bin/PropFilePasswordEncoder profile_root/default/properties/soap.client.props com.ibm.SOAP.loginPassword,com.ibm.ssl.keyStorePassword,com.ibm.ssl.trustStorePassword
app_server_root/bin/PropFilePasswordEncoder profile_root/default/properties/ssl.client.props com.ibm.ssl.keyStorePassword,com.ibm.ssl.trustStorePassword
PropFilePasswordEncoder utility creates a .bak file with the password in clear text. The com.ibm.websphere.security.util.createBackup option is needed to prevent this from occurring.
To disable the prompt for a backup file, please add the following Java System property in PropFilePasswordEncoder script (PropFilePasswordEncoder.sh or PropFilePasswordEncoder.bat in app_server_root/bin): "-Dcom.ibm.websphere.security.util.createBackup=false or true".