Wednesday, 7 December 2022

EBS R12.2 Java Code signing certificate

 EBS R12.2 Java Code sigining certificate 


get the certficate alias from below file, it will be the first word in the file:

cat $NE_BASE/EBSapps/appl/ad/admin/adsign.txt


Mostly its the $CONTEXT_NAME


mv $NE_BASE/EBSapps/appl/ad/admin/adkeystore.dat $NE_BASE/EBSapps/appl/ad/admin/adkeystore.dat_old

keytool -keystore $NE_BASE/EBSapps/appl/ad/admin/adkeystore.dat -genkey -validity 6000 -keypass puneet -dname "CN=EBSDB_apps, OU=IT, O=Tahaluf, L=Abudhabi, ST=Abudhabi, C=AE" -alias EBSDB_apps -keyalg RSA -keysize 2048 -storepass puneet

keytool -export -alias EBSDB_apps -keystore adkeystore.dat  -rfc -file EBSDB_apps.crt -storepass puneet



Stop the application


Run ADADMIN, and select the following from the AD Administration Main Menu:

Choose Generate Applications Files menu

From this menu choose Generate product JAR files

Enter yes when prompted with: Do you wish to force regeneration of all jar files? [No] ? yes

Then

Reload JAR files to database 

Start the application

In client machine run Configure Java

Security tab > Manage certificate > Certificate Type > Signer ca  > Import certificate


No comments:

Post a Comment

Number of Visitors