File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Java keystorage load problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Java keystorage load problem" Watch "Java keystorage load problem" New topic

Java keystorage load problem

Andre Andrey

Joined: Apr 01, 2014
Posts: 1

I use Eclipse to make ssl socket server-client communication. I am trying to use self signed certificate.

I make keystorage with Eclipse keytool. Than I try to load this key storage:

But I get following message:
herong.jks (No such file or directory)

Name of keysotre is correct. May be I should do something else? now I only create keystore and certificate in key tool.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Try an absolute path instead.
I agree. Here's the link:
subject: Java keystorage load problem
It's not a secret anymore!