Skip to content

PKI Server Database CLI

Endi S. Dewata edited this page Nov 29, 2020 · 3 revisions

Overview

PKI provides tools to upgrade the internal LDAP database.

Displaying Database Status (Not Implemented Yet)

$ pki-server db-status
  Hostname: server.example.com
  Port: 636
  SSL: yes
  Client Certificate: subsystemCert pki-tomcat

Database Upgrade

The pki-server db-upgrade is a tool to upgrade PKI server LDAP database. Currently the upgrade includes:

See db.py for details.

This tool is used as part of Database Upgrade for PKI 10.2.x. To run the database upgrade:

$ pki-server db-upgrade
----------------
Upgrade complete
----------------

Schema Upgrade

The pki-server db-schema-upgrade is a tool to upgrade PKI server LDAP schema. Currently the upgrade includes:

See db.py for details.

$ pki-server db-schema-upgrade -D "cn=Directory Manager" -w Secret.123
----------------
Upgrade complete
----------------

See also the following tickets:

Reference

Clone this wiki locally