Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invalid keystore format error

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: java.io.IOException: Invalid keystore format


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


Thanks & Regards,
Kumar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic