Unable to list the contents of a KeyStore [Unix]
Posted on 2011-03-07
Hi, I have created a keystore using the command: keytool -genkey -alias signFiles -keypass kpi135 -keystore susanstore -storepass ab987c
When I run this command "keytool -list -alias signFiles", it returns an error message as: [keytool error: java.lang.Exception: Keystore file does not exist: /home/user/.keystore]
I think the problem is that it is trying to find this keystore in user's home directory, whereas the keystore "susanstore" was created in a different directory.
Any help on how can I fix this problem?