Wednesday, 11 April 2012

BM HTTP Server - Lost the stashed password

When IHS fails to start with: -

$ cat error_log

[Wed Apr 11 07:13:17 2012] [crit] SSL0104E: GSK could not initialize, Invalid password for keyfile. 
Configuration Failed

Check that you did not inadvertently delete the stashed password file, typically key.sth

If so, you can recreate the stash file as follows: -

$ cd /opt/IBM/HTTPServer/bin 
$ ./gsk7capicmd -keydb -stashpw -db /opt/IBM/HTTPServer/ssl/key.kdb -pw <PASSWORD>

which results in: -

ls -al /opt/IBM/HTTPServer/ssl/key.sth

-rw------- 1 wasadmin wasgrp 129 Apr 11 07:15 /opt/IBM/HTTPServer/ssl/key.sth

This helped: -

Message:SSL0104E: GSK could not initialize, Invalid password for key file.

    Reason: The password retrieved from the stash file could not open the key database file. 
    Solution: Use IKEYMAN to open the key database file and recreate the password stash file. This problem could also result from a corrupted key database file. Creating a new key database file may resolve the problem.

No comments:

macOS to macOS File Sharing - Don't work, try The IT Crowd

 I use File Sharing between two Macs on the same network, both running the latest macOS 13.4 Ventura. For some strange reason I wasn't a...