File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 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.
I agree. Here's the link:
subject: Error when signing applet