This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Consider Paul's rocket mass heater.
subject: Invalid keystore format error
Similar Threads
Cannot install ROOT certificate
Self-signed certificate in tomcat
SSL WebService using AXIS
Unable to use JKS type - Please help