Posted by: turanunes | December 28, 2012

stop Websphere without passing username and password to stopServer

If you enabled Websphere console security, you have to write username and password every stopServer command. Now you can bypass  username and password.

1- edit the following file

#/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/soap.client.props

change the values of these  properties

com.ibm.SOAP.securityEnabled=true
com.ibm.SOAP.loginUserid=wasadmin
com.ibm.SOAP.loginPassword=password

save and close.

2-if you can not encode password someone can read and see  your password.

run this command.

PropFilePasswordEncoder.sh /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/soap.client.props com.ibm.SOAP.loginPassword

after running this command you will see so

com.ibm.SOAP.loginUserid=wasadmin
com.ibm.SOAP.loginPassword={xor}CDo9L2ZvaW8L

3- stop and start server.


Leave a comment

Categories