wood burning stoves 2.0*
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
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.
 
Consider Paul's rocket mass heater.
 
subject: Error when signing applet