To enable the Axidian CertiFlow system to operate with the database, create a service account and grant it the required permissions:
1. Open pgAdmin, enter master password and connect to server.
2. In Browser section right-click on Login/Group Roles menu item.
3. Select Create→Login/Group Role.
4. Go to General tab and enter the role name in the Name field (e.g. cfServiceSQL).
5. Go to Definition tab and enter your password in the Password field. Account expires field should be set to No Expiry.
When creating a service account, you must disable password expiration. |
6. Go to Privileges tab and turn on the Can Login? parameter.
7. Leave the rest of the fields with default values and click Save.
The database used as data storage is created manually. To populate the database, use the Storage-Postgre.sql script included in the Axidian CertiFlow installation package (\CertiFlow.Server\Misc).change
1. Create a database in the pgAdmin environment with an arbitrary name:
2. Select the database (CertiFlowDB) in Browser section and execute the Storage-Postgre.sql script:
3. Grant privileges to service account for the database tables:
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "specify service account"; |
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO cfServiceSQL; |
Open the PostgreSQL config file pg_hba.conf.
pb_hba.conf file location: For Windows OS: C:\Program Files\PostgreSQL\<version number>\data For *nix OS: /etc/postgresql/<version number>/main |
Add a line with the following format:
CONNECTIONTYPE DATABASE USER ADDRESS METHOD |
Where values are referred to as:
host CertiFlowDB cfServiceSQL 192.200.1.0/32 md5 |