Skip to content

Setting up TKS Database User

Endi S. Dewata edited this page Jun 18, 2024 · 2 revisions

Overview

This page describes the process to set up a user to access the TKS database in DS with PKI tools.

Adding Database User

$ pki-server tks-user-add \
    --full-name pkidbuser \
    --type agentType \
    pkidbuser

In PKI 11.6 or later the user certificate can be specified with the --cert <path> option.

Assigning Certificate to Database User

$ pki-server tks-user-cert-add \
    --cert /var/lib/pki/pki-tomcat/conf/certs/subsystem.crt \
    pkidbuser

Granting Access to Database User

$ pki-server tks-db-access-grant \
    uid=pkidbuser,ou=people,dc=tks,dc=pki,dc=example,dc=com
Clone this wiki locally