LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   ikeyman commands are not executing (https://www.linuxquestions.org/questions/aix-43/ikeyman-commands-are-not-executing-4175639144/)

cbriscoejr 09-25-2018 11:40 AM

ikeyman commands are not executing
 
I have an AIX 5.3 TL7 (stop laughing) and I need to renew a cert.

I successfully ran commands earlier today to tell me

what certs were there - /usr/java14/bin/java com.ibm.gsk.ikeyman.ikeycmd -cert -list personal -db key.kdb -pw c0met2key
Details of each cert - /usr/java14/bin/java com.ibm.gsk.ikeyman.ikeycmd -cert -details -db key.kdb -pw c0met2key -label more
What is default cert - /usr/java14/bin/java com.ibm.gsk.ikeyman.ikeycmd -cert -getdefault -db key.kdb -pw c0met2key

They worked fine today and last week. Now it is not working. Each command just goes to a new line with no result from command

Is there a password lock possible on this key? What else could be the issue here?

NevemTeve 09-26-2018 07:24 AM

As a start, you could check your /var/log/warning.log file. (If you don't have such a file, consult your administrator.)

cbriscoejr 09-26-2018 09:58 AM

Thank you for response
 
I have reviewed error.log, auth.log, daemon.log and messages in /var/adm and found nothing unusual.

NevemTeve 09-26-2018 10:15 AM

Other java applications ceased to work too?
Also check your environment: have you executed these commands:
Code:

export JAVA_HOME=/usr/java14
export PATH="$JAVA_HOME/bin:$PATH"

Edit: also you can try this:
Code:

fuser key.kdb
And, if you dare, use truss:
Code:

truss -f /usr/java14/bin/java com.ibm.gsk.ikeyman.ikeycmd ... 2>debug.log
Then carefully examine debug.log, it might give you some clues.

NevemTeve 10-09-2018 10:47 PM

I wouldn't mind to hear what the problem actually was.


All times are GMT -5. The time now is 08:33 AM.