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 AUGUST 31, 2017

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.


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: apps

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

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] :  Pittsburgh

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

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

adjkey error:

/d01/oracle/FAHDB04T/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java -genkey -alias <alias_name> -keyalg RSA -keysize  2048 -keystore /d01/oracle/xxxxxx/apps/apps_st/appl/admin/adkeystore.dat -validity 14600 -dname " CN=The XYZ Financial Services Group, Inc., OU=For Intranet Use Only, O=The XYZ Financial Services Group, Inc., L=Pittsburgh, S=Pennsylvania, C=US"

The above Java program failed with error code 1.



 Implementating a jar signing certificate.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms