Link to home
Start Free TrialLog in
Avatar of LeoKris
LeoKris

asked on

Unable to list the contents of a KeyStore [Unix]

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?

Thanks
Leo
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeoKris
LeoKris

ASKER

Could have been better if the concept was explained in a few words, in addition to the link which had exhaustive content.
You help people for free and they still want more :)  
My answers are often brief due to time constraints, but hopefully they point people in the right direction. If you're unclear on anything then I do my best to follow up any questions you have.
Avatar of LeoKris

ASKER

Hi objects,
I did not want to belittle your help, though I forgot to put "thank you" note before submitting the comment. But, my feedback makes it clear that it was actually useful in fixing it.

Sorry if it offended you. Thanks for your help.

Leo