How to encode passwords in WebSphere properties files
 Technote (troubleshooting)
 
Problem(Abstract)
How can I encode passwords that appear in plain text in WebSphere properties files such as sas.client.props or soap.client.props?
 
Resolving the problem
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.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Security
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1111190
IBM Group: Software Group
Modified date: Jun 13, 2003