WebSphere versions 4.0.x and 5.0.x ship with a utility
that will encode passwords for you. This utility is called
PropFilePasswordEncoder.bat or PropFilePasswordEncoder.sh (for Unix
systems). This utility is installed in the <WebSphere install
root>/bin directory.
Run the utility from a command line as follows:
C:/<WebSphere install root>/bin/PropFilePasswordEncoder <file
name> <password property>
For example, to encode the password in soap.client.props in version
5.0, you would issue this command:
C:/<WebSphere install root>/bin/PropFilePasswordEncoder <WAS
install root>/properties/soap.client.props
com.ibm.SOAP.loginPassword
The utility will save a backup of the properties file with a .bak
extension; however, it is recommended that you also make a backup copy of
the file before running the utility.
|