Skip to content

PKI Selftest CLI

Endi S. Dewata edited this page Dec 8, 2021 · 2 revisions

Listing Selftests

$ pki -n caadmin ca-selftest-find
-----------------
3 entries matched
-----------------
  SelfTest ID: CAPresence
  Enabled at startup: true
  Critical at startup: true
  Enabled on demand: true
  Critical on demand: true

  SelfTest ID: SystemCertsVerification
  Enabled at startup: true
  Critical at startup: true
  Enabled on demand: true
  Critical on demand: true

  SelfTest ID: CAValidity
  Enabled at startup: false
  Enabled on demand: true
  Critical on demand: true
----------------------------
Number of entries returned 3
----------------------------

Displaying Selftest Details

$ pki -n caadmin ca-selftest-show SystemCertsVerification
----------------------------------
SelfTest "SystemCertsVerification"
----------------------------------
  SelfTest ID: SystemCertsVerification
  Enabled at startup: false
  Enabled on demand: false

Running Selftests

$ pki -n caadmin ca-selftest-run
  Selftest ID: CAPresence
  Status: PASSED

  Selftest ID: SystemCertsVerification
  Status: PASSED

  Selftest ID: CAValidity
  Status: PASSED
-------------------
Selftests completed
-------------------
Clone this wiki locally