Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Comment: PDOC-1239 - Getting issue details... STATUS . Edit settings on the CM Server = excerpt!!! Remember to update the link (if needed?)

This article describes how to install and set up the PostgreSQL database, used in Smart ID Certificate Manager (CM).

For detailed information about how to install PostgreSQL, see the documentation available at http://www.postgresql.org/ .

Prerequisites

  • Install the PostgreSQL database according to the instructions for the downloaded PostgreSQL installation package.

  • Extract the PostgreSQL database scripts create_db_and_role.sql, create_cmdb.sql, add_bootca.sql, located at certificate-manager-8.X.Y-Z.zip\cmdb-install-tool-8.X.Y.zip\install\PostgreSQL, from the server containerization zip file.

Step-by-step instruction

Edit settings on the PostgreSQL server

  1. Run the script, that creates the lcmreq user and the cmdb database, as database superuser:

psql -d postgres -U postgres -f create_db_and_role.sql >create_cmdb.log
  1. Change the password for the lcmreq user, created by the script. The default password is REQreq01. The database name and user name should be in lower case,
    since they are case sensitive.

  2. Check the log file.

  3. Run the script for creating the cmdb tables:

psql -d cmdb -U lcmreq -f create_cmdb.sql >create_cmdb.log
  1. Check the log file.

  2. Run the script for creating the bootca: psql -d cmdb -U lcmreq -f add_bootca.sql >add_bootca.log

  3. Check the log file.

Edit settings on the CM server

Navigate to the volume hosting the cm server config directory and update the database parameters in cm.conf

  • Database.name

  • Database.user

  • Database.password

Secure the connection

See Set up PostgreSQL in Certificate Manager.

 

  • No labels