Skip to content

PKI Server Subsystem Database CLI

Endi S. Dewata edited this page Dec 6, 2023 · 12 revisions

Displaying Subsystem Database Info

$ pki-server <subsystem>-db-info
  objectClass: top
  creatorsName: cn=server,cn=plugins,cn=config
  modifiersName: cn=server,cn=plugins,cn=config
  createTimestamp: 20190522091916Z
  modifyTimestamp: 20190522091916Z
  namingContexts: dc=ca,dc=pki,dc=example,dc=com
  namingContexts: dc=tps,dc=pki,dc=example,dc=com
  namingContexts: dc=tks,dc=pki,dc=example,dc=com
  namingContexts: dc=ocsp,dc=pki,dc=example,dc=com
  namingContexts: dc=kra,dc=pki,dc=example,dc=com
  namingContexts: dc=example,dc=com
  defaultnamingcontext: dc=example,dc=com
  nsBackendSuffix: userroot:dc=example,dc=com
  nsBackendSuffix: ca:dc=ca,dc=pki,dc=example,dc=com
  nsBackendSuffix: kra:dc=kra,dc=pki,dc=example,dc=com
  nsBackendSuffix: ocsp:dc=ocsp,dc=pki,dc=example,dc=com
  nsBackendSuffix: tks:dc=tks,dc=pki,dc=example,dc=com
  nsBackendSuffix: tps:dc=tps,dc=pki,dc=example,dc=com
  subschemaSubentry: cn=schema
  supportedExtension: 2.16.840.1.113730.3.5.7
  supportedExtension: 2.16.840.1.113730.3.5.8
  supportedExtension: 2.16.840.1.113730.3.5.3
  supportedExtension: 2.16.840.1.113730.3.5.12
  supportedExtension: 2.16.840.1.113730.3.5.5
  supportedExtension: 2.16.840.1.113730.3.5.6
  supportedExtension: 2.16.840.1.113730.3.5.9
  supportedExtension: 2.16.840.1.113730.3.5.4
  supportedExtension: 2.16.840.1.113730.3.6.5
  supportedExtension: 2.16.840.1.113730.3.6.6
  supportedExtension: 2.16.840.1.113730.3.6.7
  supportedExtension: 2.16.840.1.113730.3.6.8
  supportedExtension: 1.3.6.1.4.1.4203.1.11.3
  supportedExtension: 1.3.6.1.4.1.1466.20037
  supportedExtension: 1.3.6.1.4.1.4203.1.11.1
  supportedControl: 2.16.840.1.113730.3.4.2
  supportedControl: 2.16.840.1.113730.3.4.3
  supportedControl: 2.16.840.1.113730.3.4.4
  supportedControl: 2.16.840.1.113730.3.4.5
  supportedControl: 1.2.840.113556.1.4.473
  supportedControl: 2.16.840.1.113730.3.4.9
  supportedControl: 2.16.840.1.113730.3.4.16
  supportedControl: 2.16.840.1.113730.3.4.15
  supportedControl: 2.16.840.1.113730.3.4.17
  supportedControl: 2.16.840.1.113730.3.4.19
  supportedControl: 1.3.6.1.1.13.1
  supportedControl: 1.3.6.1.1.13.2
  supportedControl: 1.3.6.1.4.1.42.2.27.8.5.1
  supportedControl: 1.3.6.1.4.1.42.2.27.9.5.2
  supportedControl: 1.2.840.113556.1.4.319
  supportedControl: 1.3.6.1.4.1.42.2.27.9.5.8
  supportedControl: 1.3.6.1.4.1.4203.666.5.16
  supportedControl: 2.16.840.1.113730.3.4.14
  supportedControl: 2.16.840.1.113730.3.4.20
  supportedControl: 1.3.6.1.4.1.1466.29539.12
  supportedControl: 2.16.840.1.113730.3.4.12
  supportedControl: 2.16.840.1.113730.3.4.18
  supportedControl: 2.16.840.1.113730.3.4.13
  supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
  supportedSASLMechanisms: EXTERNAL
  supportedSASLMechanisms: SCRAM-SHA-1
  supportedSASLMechanisms: SCRAM-SHA-256
  supportedSASLMechanisms: GSS-SPNEGO
  supportedSASLMechanisms: GSSAPI
  supportedSASLMechanisms: DIGEST-MD5
  supportedSASLMechanisms: CRAM-MD5
  supportedSASLMechanisms: LOGIN
  supportedSASLMechanisms: PLAIN
  supportedSASLMechanisms: ANONYMOUS
  supportedLDAPVersion: 2
  supportedLDAPVersion: 3
  vendorName: 389 Project
  vendorVersion: 389-Directory/1.4.0.22 B2019.088.2015
  dataversion: 020190522091922
  netscapemdsuffix: cn=ldap://dc=localhost,dc=localdomain:389
  aci: (targetattr != "aci")(version 3.0; aci "rootdse anon read access"; allow(read,search,compare) userdn="ldap:///anyone";)

Initializing Subsystem Database

$ pki-server <subsystem>-db-init

Availability: Since PKI 11.5

See Also

Clone this wiki locally