Assign a Different Certificate for Document Encryption

The system uses a predefined certificate (doccrypto) to encrypt documents. You can create a different system certificate to use for encrypting documents, for example, if the previous certificate is expiring. If you do, you must update the value of CERT_NAME in the customer_overrides.properties file.

About this task

CAUTION:
Do not delete or rename the previous system certificate. You need the previous certificate for decrypting documents that were previously encrypted by it. Your new system certificate cannot decrypt these documents, as it was never used to encrypt them.
Before you perform this procedure, you need to:
  • Generate the new certificate
  • Know the name of the certificate

To update the value of CERT_NAME:

Procedure

  1. Navigate to the install directory.
  2. Navigate to the properties directory.
  3. Open the customer_overrides.properties file.
  4. Add the following line to the file:
    security.CERT_NAME=name_of_new_system_certificate
    
  5. Save and close the customer_overrides.properties file.
  6. Stop and restart Sterling B2B Integrator.