File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error when signing applet

 
sai pabb
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to sign a new applet with the following command I get the exception

>keytool -genkey -keyalg rsa -alias tstkey
Enter keystore password:******
keytool error: java.io.IOException: Keystore was tampered with, or password was
incorrect

What could be the problem?
 
Lester Burnham
Rancher
Posts: 1337
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly what it says: either the keystore is defective (try recreating it from scratch) or the password is incorrect.
 
sai pabb
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah.. the password was wrong. I had to recollect it to get rid of it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic