wood burning stoves 2.0*
The moose likes Security and the fly likes KeyTool -genkeypair gives exception - Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"" Watch "KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"" New topic

KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"

Ajay Jadhav

Joined: May 09, 2003
Posts: 5
I have 1.6 installed and ran this single statement at the command line. I got the following error:

I confirmed that the keystore path is correct. Any thoughts as to how to trouble shoot?

Ajay Jadhav<br />Pune, MS, IN<br /><a href="http://www.divinet.in" target="_blank" rel="nofollow">www.divinet.in</a>
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
delete the file S:\abc\keystore

Nice to meet you.
Nitin Jadhav

Joined: Nov 02, 2009
Posts: 2
Deleting "keystore" directory worked for me. ("keystore" is used for filename here.)
wood burning stoves
subject: KeyTool -genkeypair gives exception - "Keystore file exists, but is empty"
Similar Threads
Java AccessControlException : Access Denied (Java.io.fileSystem) error while running Applet from JS
keytool error: java.io.filenotfoundexception
keytool - import CA reply certificate error
[error] keytool error: java.lang.IllegalArgumentException: password can't be null
Sign a jar with a third party certificate, using keytool and jarsigner