Signing .jar Files for 11g / SIGN_WEBUTIL.BAT Command Results in Error "The Syntax of the Command is Incorrect"
(Doc ID 1076945.1)
Last updated on MAY 16, 2023
Applies to:
Oracle Forms - Version 10.1.2.3.0 and laterOracle Forms for OCI - Version 12.2.1.3.0 and later
Information in this document applies to any platform.
Symptoms
NOTE:
- Be aware that the sign_webutil script has now been deprecated and may not be included in future releases. This was first communicated in the Forms 12.2.1.4 Release Notes:
https://docs.oracle.com/en/middleware/developer-tools/forms/12.2.1.4/releasenotes-fnr/deprecated-features.html - While the script in this note may be used initially to create a keystore and self sign jacob.jar file it was not originally intended to be used to self sign multiple jar files. Oracle recommends that jar files be signed with a certificate from a Trusted Certificate Authority. Please refer to Document 2065434.1 for detailed steps on jar file signing.
Overview
The sign_webutil.sh(bat) courtesy script was provided to Oracle Forms customers as an example demonstrating how custom jar files such as jacob.jar can be signed with a self signed certificate. Once the script is successfully run the first time a self-signed certificate is created as defined in the script and the jar file specified is signed. The focus of this document is to discuss how to use the sign_webutil.sh(bat) and the resulting keystore file to create signatures for use with Forms 11g.
Changes
The sign_webutil.bat that comes with Forms 11g allows users to specify their own KEYSTORE_PASSWORD and JAR_KEY_PASSWORD
In addition, there are changes related to Jar File signing beginning in the April 2013 CPU patch which may affect your Forms application. Please carefully read <note 1594575.1> and <Note 1542463.1> and the links to the Java Security related information in those notes.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |