Wednesday, 25 April 2012

More on IBM HTTP Server and WAS Plugin passwords

Following on from my earlier blog posts here and here.

This is definitely a work-in-progress.

<Caveat Emptor>


Using gsk7cmd to check password expiration

C:\IBM\HTTPServer\bin>gsk7cmd.bat -keydb -expiry -db \IBM\HTTPServer\Plugins\config\webserver1\plugin-key.kdb -pw WebAS

Password expiry time: 26-Apr-2012 16:20:31

Using gsk7capicmd to check password expiration

C:\IBM\HTTPServer\bin>gsk7capicmd.bat -keydb -expiry -db \IBM\HTTPServer\Plugins\config\webserver1\plugin-key.kdb -pw WebAS

Validity:  Thursday, 26 April 2012 16:20:31 PM GMT Daylight Time

Using gsk7cmd to change password

C:\IBM\HTTPServer\bin>gsk7cmd.bat -keydb -changepw -db \IBM\HTTPServer\Plugins\config\webserver1\plugin-key.kdb -pw WebAS -new_pw Passw0rd -stash

Validating the change

C:\IBM\HTTPServer\bin>gsk7capicmd.bat -keydb -expiry -db \IBM\HTTPServer\Plugins\config\webserver1\plugin-key.kdb -pw Passw0rd


Yes, and I am using Windows in this example, as I was working with a client who is using Windows rather than Unix for their web tier.

And you did back up your key database BEFORE you started ?

No comments:

TIL - read-only variables in Linux

 A co-worker was seeing an exception: -  line 8: TMOUT: readonly variable when trying to SCP a file from a remote Linux box. I did some digg...