How can I use certificates when Db2 or PostgreSQL is in SSL mode?

How can I use certificates when Db2 or PostgreSQL is in SSL mode?

If you have Db2 or PostgreSQL set up in SSL mode on a UNIX operating system, you can add the database certificate to the existing certificates. You can use this configuration on the following components:
  • master domain manager
  • dynamic domain manager
  • Dynamic Workload Console
Proceed as follows:
  1. On the workstation where you plan to install the master domain manager, create a folder for storing the certificates.
  2. Within this folder, create a subfolder named additionalCAs.
  3. Obtain the certificates from the database administrator.
  4. Store the certificates in .crt format in the additionalCAs folder.
  5. Log in to the component for which you are configuring the database, as listed above.
  6. Run the configureDb script as explained in Creating and populating the database for DB2 for the master domain manager and Creating and populating the database for DB2 for the Dynamic Workload Console, or in Creating and populating the database for PostgreSQL for the master domain manager and Creating and populating the database for PostgreSQL for the Dynamic Workload Console, depending on the database you are using. Ensure you use the sslkeysfolder and sslkeysfolder parameter to specify the path to the folder containing the certificates.
  7. Proceed with the installation as described in Typical installation scenario.