I have the key db set for 8.0.0.4 with the following permissions . I am trying to start a client connection with ssl enabled .
what could be the reason .
setup is ok from keykb and i can list the certificates with the stashed password
mtzhlgci02:/gci/system/sslcerts/cie2> ls -tl
total 44
-rw-r--r-- 1 cie gciteam 80 Nov 25 00:31 key.rdb
-rw-r--r-- 1 cie gciteam 129 Nov 25 00:31 key.sth
-rw-r--r-- 1 cie gciteam 25088 Nov 25 00:31 key.kdb
key repository is mentioned as /gci/system/sslcerts/cie2/key
but i get error in connecting to the MQ QMGR when using MQCONNX c library
AMQ9660: SSL key repository: password stash file absent or unusable.
EXPLANATION:
The SSL key repository cannot be used because MQ cannot obtain a password to
access it. Reasons giving rise to this error include:
(a) the key database file and password stash file are not present in the
location configured for the key repository,
(b) the key database file exists in the correct place but that no password
stash file has been created for it,
(c) the files are present in the correct place but the userid under which MQ is
running does not have permission to read them,
(d) one or both of the files are corrupt.
The channel is 'CIE.TEST.SVRCONN.SSL'; in some cases its name cannot be
determined and so is shown as '????'. The channel did not start.
ACTION:
Ensure that the key repository variable is set to where the key database file
is. Ensure that a password stash file has been associated with the key database
file in the same directory, and that the userid under which MQ is running has
read access to both files. If both are already present and readable in the
correct place, delete and recreate them. Restart the channel.
------------------------------
lakshmi saraswathi
------------------------------