Skip to content

PKI TKS TPS Connector CLI

Endi S. Dewata edited this page Jan 20, 2022 · 2 revisions

Overview

The pki tks-tpsconnector commands can be used to manage TPS connector configuration in TKS. All TPS connector commands should be executed as a TKS administrator.

Listing TPS Connectors

$ pki -n caadmin tks-tpsconnector-find
-----------------
1 entries matched
-----------------
  Connector ID: 0
  Host: pki.example.com
  Port: 8443
  User ID: TPS-pki.example.com-8443
  Nickname: TPS-pki.example.com-8443 sharedSecret
----------------------------
Number of entries returned 1
----------------------------

Displaying TPS Connector Info

$ pki -n tksadmin tks-tpsconnector-show --host pki.example.com --port 8443
------------------------------------
TPS Connector "pki.example.com:8443"
------------------------------------
  Connector ID: 0
  Host: pki.example.com
  Port: 8443
  User ID: TPS-pki.example.com-8443
  Nickname: TPS-pki.example.com-8443 sharedSecret

Adding TPS Connector

$ pki -n tksadmin tks-tpsconnector-add --host pki.example.com --port 8443
------------------------------------------
Added TPS connector "pki.example.com:8443"
------------------------------------------

Modifying TPS Connector

$ pki -n tksadmin tks-tpsconnector-mod 0 --host tps.example.com
--------------------------
Modified TPS connector "0"
--------------------------
  Connector ID: 0
  Host: tps.example.com
  User ID: TPS-pki.example.com-8443
  Nickname: TPS-pki.example.com-8443 sharedSecret

Deleting TPS Connector

$ pki -n tksadmin tks-tpsconnector-del --host pki.example.com --port 8443
--------------------------------------------
Removed TPS connector "pki.example.com:8443"
--------------------------------------------
Clone this wiki locally