Solved

Unable to list the contents of a KeyStore [Unix]

Posted on 2011-03-07
4
490 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:LeoKris
  • 2
  • 2
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 35054923
0
 

Author Closing Comment

by:LeoKris
ID: 35065848
Could have been better if the concept was explained in a few words, in addition to the link which had exhaustive content.
0
 
LVL 92

Expert Comment

by:objects
ID: 35065921
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
 

Author Comment

by:LeoKris
ID: 35065956
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now