Solved

Unable to list the contents of a KeyStore [Unix]

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse argument 14 61
How to execute a Python program and gather return output in Java 2 30
Desingning Refactoring existing code 2 24
printf performancy 11 42
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

778 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