Solved

Unable to list the contents of a KeyStore [Unix]

Posted on 2011-03-07
4
497 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 46
How do I remove an object from a 3 51
glassfish admin console 1 16
Java array sort 10 27
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

685 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