This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Applets and the fly likes Error when signing applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Error when signing applet" Watch "Error when signing applet" New topic
Author

Error when signing applet

sai pabb
Greenhorn

Joined: Sep 01, 2010
Posts: 9
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

Joined: Oct 14, 2008
Posts: 1337
Exactly what it says: either the keystore is defective (try recreating it from scratch) or the password is incorrect.
sai pabb
Greenhorn

Joined: Sep 01, 2010
Posts: 9
Yeah.. the password was wrong. I had to recollect it to get rid of it.
 
 
subject: Error when signing applet