My Oracle Support Banner or .bat Fails with "keytool error: Keystore was tampered with, or password was incorrect" (Doc ID 2226942.1)

Last updated on APRIL 19, 2023

Applies to:

Oracle Forms - Version and later
Oracle Forms for OCI - Version and later
Information in this document applies to any platform.



NOTE: The sign_webutil script was provided as a courtesy when it was common that only one jar was needed to be self-signed and self signing was more common.  It is not recommended anymore.  The steps in the following <Note 2065434.1> are recommended for signing jar files.


Trying to sign a non-oracle jar file like jacob.jar fails as follows.


$ jacob.jar

Self-signing Jar files is no longer recommended.
Jar files should be digitally signed using a trusted certificate.

Generating a self signing certificate for key=XXXXX...
keytool error: Keystore was tampered with, or password was incorrect

Backing up jacob.jar as jacob.jar.old...

Signing jacob.jar using key=XXXXX...
jarsigner error: java.lang.RuntimeException: keystore load: Keystore was tampered with, or password was incorrect
Signing jacob.jar failed.






To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.