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
LeoKrisAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
LeoKrisAuthor Commented:
Could have been better if the concept was explained in a few words, in addition to the link which had exhaustive content.
0
 
objectsCommented:
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.
0
 
LeoKrisAuthor Commented:
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
0
All Courses

From novice to tech pro — start learning today.