Jar Signing in Oracle E-Business Suite R12.2(without Hardware Security Module)

Prerequisites

Generate Keypair and CSR

Source the environment

  • Get the keystore and key password-
  • Backup existing keystore –

Generate a new keypair

  • Run the following command to generate one –
  • To view the contents of EBS keystore adkeystore.dat –

Create a CSR

Create a CSR with SHA-2 alg

Submit CSR to CA

Import Certificate

Source the environment

Import Root certificate to cacerts

  • To check if a Root certificate is in cacerts with Root certificate’s alias –
  • Copy Root certificate to SEC_PROP_LOC.
  • Import Root certificate into cacerts(backup cacerts file before updating it) –

Import CS certificate into Keystore

  • Copy and rename Intermediate and CS certificate to interCA.cer and adkeystore.cer respectively. The .crt or .cer, etc, extension can vary depending on the signed certificate extension given by the CA. Copy the certs to AD keystore location.
  • Import Intermediate certificates
  • Import Java code signing certificate with the same alias name with which the keystore was created.
  • Backup adkeystore.dat and adsign.txt to repurpose those for other EBS environments.

Regenerate JAR files

  • Source Run file system env file and stop EBS application services using adstpall.sh.
  • Regenerate Jar files through adadmin using force option.
  • Once your jar files have been successfully generated, restart the application tier.

Accessing EBS Forms

Verify Jar files are signed with new certificate

  1. Control Panel > Java > Security > Manage Certificates > ‘Certificate Type: Trusted Certificates’
  2. Select the certificate and ‘Export’ it to desktop.
  3. Double click on the saved certificate and view the ‘General’, ‘Details’ and ‘Certification Path’ tabs to verify the entries match with those when you created the key pair.

Leave a comment