Skip to content

Setting up OCSP Database User

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

Overview

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

Adding Database User

$ pki-server ocsp-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 ocsp-user-cert-add \
    --cert /var/lib/pki/pki-tomcat/conf/certs/subsystem.crt \
    pkidbuser

Granting Access to Database User

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