jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Applets
Bookmark "Error when signing applet" Watch "Error when signing applet" New topic

Error when signing applet

sai pabb

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

What could be the problem?
Lester Burnham

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

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
It's not a secret anymore!