Skip to content

PKI Server TPS CLI

Endi S. Dewata edited this page Dec 10, 2020 · 6 revisions

Preparing TPS Clone

To export the TPS system certificates for cloning, execute the following command:

$ pki-server tps-clone-prepare --pkcs12-file tps-clone.p12 --pkcs12-password-file password.txt

TPS VLV Management

Listing TPS VLVs

To list TPS VLV indexes currently in the database execute the following command:

$ pki-server tps-db-vlv-find
---------------
4 entries found
---------------
  dn: cn=listActivities,cn=tps,cn=ldbm database,cn=plugins,cn=config
  objectClass: top
  objectClass: vlvsearch
  vlvScope: 1
  vlvFilter: (&(tokenID=*)(tokenUserID=*))
  vlvBase: ou=Activities,dc=tps,dc=pki,dc=example,dc=com
  cn: listActivities

...

Adding TPS VLVs

To import TPS VLV indexes from /usr/share/pki/tps/conf/vlv.ldif into the database execute the following command:

$ pki-server tps-db-vlv-add
----------
VLVs added
----------

Reindexing TPS VLVs

To rebuild TPS VLV indexes in the database execute the following command:

$ pki-server tps-db-vlv-reindex
----------------
Reindex complete
----------------

Depending on the size of the database, the command may take some time to complete.

Deleting TPS VLVs

To remove TPS VLV indexes currently in the database execute the following command:

$ pki-server tps-db-vlv-del
------------
VLVs deleted
------------

TPS Audit Management

Subsystem Management

References

Clone this wiki locally