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

Invalid keystore format error

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am using java version "1.4.2_04"

I want to use keystore type as JKS but not JCEKS. When I run below command :

keytool -genkey -dname "CN=Doug Tidwell, OU=developerWorks, O=IBM, L=Research Triangle Park, S=North Carolina, C=US"
-keypass changeit -storepass changeit -alias xss4j1

I am getting below exception :

keytool error: Invalid keystore format

Please help me friends what am I missing here ...

Thanks & Regards,

RR Kumaran
SCJP 1.4
I agree. Here's the link:
subject: Invalid keystore format error
It's not a secret anymore!