Skip to content

Setting up OCSP Database

Endi S. Dewata edited this page Jun 4, 2025 · 3 revisions

Overview

This page describes the process to set up an OCSP database using DS. It assumes that the DS database has been installed as described in DS Installation.

Availability: Since PKI 11.5

Configuring OCSP Database Connection

$ pki-server ocsp-db-config-mod \
    --secure false \
    --hostname ds.example.com \
    --port 389
$ pki-server password-set \
    --password Secret.123 \
    internaldb

Initializing OCSP Database

$ pki-server ocsp-db-init

Adding OCSP Search Indexes

$ pki-server ocsp-db-index-add

Rebuilding OCSP Search Indexes

$ pki-server ocsp-db-index-rebuild

Adding OCSP VLV Indexes

$ pki-server ocsp-db-vlv-add

Rebuilding OCSP VLV Indexes

$ pki-server ocsp-db-vlv-reindex
Clone this wiki locally