My Oracle Support Banner

Java Program Failed With Error Code 1; Failed to initialize customer signature environment (adjkey) Running adadmin To Sign JAR Files (Doc ID 1633420.1)

Last updated on FEBRUARY 15, 2021

Applies to:

Oracle E-Business Suite Technology Stack - Version 12.1.3 to 12.2 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

Receiving error " JarSigner: Certificate chain not found for: <context_name>" when running adadmin to sign JAR files as it failed to initialize the signature environment (adjkey):

[xxxxxx@VM:xxxxxx admin]$ adjkey -initialize

                    Copyright (c) 2002 Oracle Corporation
                       Redwood Shores, California, USA

                            AD Java Key Generation

                                Version 12.0.0

NOTE: You may not use this utility for custom development
     unless you have written permission from Oracle Corporation.

Reading product information from file...

Reading language and territory information from file...

Reading language information from applUS.txt ...

Enter the APPS username: <USERNAME>

Enter the APPS password:  

Successfully created javaVersionFile.

adjkey will now create a signing entity for you.

Enter the Name of your Company (used for both CN and
ORGANIZATION NAME) [CN/ORGANIZATION NAME] : <ORGANIZATION_NAME>

Enter the department or group that will use the certificate [ORGANIZATION UNIT] : For Intranet Use Only

Enter the full name of the city where your organization's
head office is located [LOCALITY] :  <LOCALITY>

Enter the full name of the State, Province or County where
your organization's head office is located [STATE] :  <STATE>

Enter the two-letter ISO abbreviation for your country
(for example, US for the United States) [COUNTRY] : <COUNTRY>
Enter keystore password:  Re-enter new password: keytool error: java.io.IOException: Incorrect AVA format

adjkey error:

/d01/oracle/xxxxxx/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java -Djava.security.egd=file:/dev/urandom sun.security.tools.KeyTool -genkey -alias <alias_name> -keyalg RSA -keysize  2048 -keystore /d01/oracle/xxxxxx/apps/apps_st/appl/admin/adkeystore.dat -validity 14600 -dname " CN=<ORGANIZATION_NAME>, OU=For Intranet Use Only, O=<ORGANIZATION_NAME>, L=<LOCALITY>, S=<STATE>, C=<COUNTRY>"

The above Java program failed with error code 1.

 

Changes

 Implementing a jar signing certificate.

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


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