Resolve Apache CouchDb Certificate Error

About this task

When the Couchdb certificate is changed or renewed, then document-management-service reports PKIX path error. To resolve the certificate error, you must re-import the certificate to tomcat jre keystore.

Procedure

  1. Note the location of the working couchdb public certificate (.crt) file.
  2. Navigate to the Web Client installation folder. The default installation path is C:\Program Files\GE Digital\PlantApplicationsWebClient.
  3. Access this file using an editor such as Notepad++ webclient install path>\ConfigurationFiles\import_cert_couchDB.ps1.
  4. Replace C:\Program Files\GE Digital\PlantApplicationsWebClient\CouchdbExportedCertificate-1.crt with path of new couchdb crt file, and then save it.
  5. Open the command prompt in an administrator's mode, and then navigate to the folder: webclient install path>\ConfigurationFiles.
  6. Run the below command:
    import_cert.bat import_cert_couchDB.ps1