The soap.client.props file is located at Dmgr as well as Node directories under clustered environment
vi /opt/IBM/WebSphere/AppServer/profiles/Profile01/dmgr/properties/soap.client.props
vi /opt/IBM/WebSphere/AppServer/profiles/Profile01/Node/properties/soap.client.props
fill in entries for ‘com.ibm.SOAP.loginUserid’ and ‘com.ibm.SOAP.loginPassword’.
Run Command :
PropFilePasswordEncoder.sh soap.client.props com.ibm.SOAP.loginPassword
[was61@properties]$ /opt/IBM/WebSphere/AppServer/profiles/Profile01/Node/bin/PropFilePasswordEncoder.sh /opt/IBM/WebSphere/AppServer/profiles/Profile01/Node/properties/soap.client.props com.ibm.SOAP.loginPassword
Create a backup file of the original properties file which contains unencoded passwords? (y/n)
y
NOTE: Backup file /opt/IBM/WebSphere/AppServer/profiles/Profile01/Node/properties/soap.client.props.bak contains unencoded passwords
I can see files :
soap.client.props.bak : Plain Passwords
soap.client.props : Encrypted Passwords
vi soap.client.props updated with encrypted password :
com.ibm.SOAP.loginUserid=user1
com.ibm.SOAP.loginPassword={xor}KCw+OzI2MQ==
vi soap.client.props.bak:
com.ibm.SOAP.loginUserid=user1
com.ibm.SOAP.loginPassword=password1