Java Program Failed With Error Code 1; Failed to initialize customer signature environment (adjkey) Running adadmin To Sign JAR Files
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):
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java Key Generation
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
ORGANIZATION NAME) [CN/ORGANIZATION NAME] : The XYZ Financial Services Group, Inc.
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: java.io.IOException: Incorrect AVA format
/d01/oracle/FAHDB04T/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=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