Difference between revisions of "PKI TKS TPS Connector CLI"

From Dogtag
Jump to: navigation, search
(Created page with "= Overview = PKI provides CLI to manage TPS connector configuration in TKS. All TPS connector commands should be executed as a TKS administrator. = Listing TPS Connectors =...")
 
m (Modifying TPS Connector)
 
Line 32: Line 32:
 
   User ID: TPS-server.example.com-8443
 
   User ID: TPS-server.example.com-8443
 
   Nickname: TPS-server.example.com-8443 sharedSecret
 
   Nickname: TPS-server.example.com-8443 sharedSecret
 +
</pre>
 +
 +
= Adding TPS Connector =
 +
 +
<pre>
 +
$ pki -n tksadmin tks-tpsconnector-add --host server.example.com --port 8443
 +
---------------------------------------------
 +
Added TPS connector "server.example.com:8443"
 +
---------------------------------------------
 
</pre>
 
</pre>
  
Line 37: Line 46:
  
 
<pre>
 
<pre>
$ pki -n caadmin tks-tpsconnector-mod 0 --host tps.example.com
+
$ pki -n tksadmin tks-tpsconnector-mod 0 --host tps.example.com
 
--------------------------
 
--------------------------
 
Modified TPS connector "0"
 
Modified TPS connector "0"
Line 45: Line 54:
 
   User ID: TPS-server.example.com-8443
 
   User ID: TPS-server.example.com-8443
 
   Nickname: TPS-server.example.com-8443 sharedSecret
 
   Nickname: TPS-server.example.com-8443 sharedSecret
 +
</pre>
 +
 +
= Deleting TPS Connector =
 +
 +
<pre>
 +
$ pki -n tksadmin tks-tpsconnector-del --host server.example.com --port 8443
 +
-----------------------------------------------
 +
Removed TPS connector "server.example.com:8443"
 +
-----------------------------------------------
 
</pre>
 
</pre>

Latest revision as of 07:48, 10 February 2020

Overview

PKI provides CLI 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: server.example.com
  Port: 8443
  User ID: TPS-server.example.com-8443
  Nickname: TPS-server.example.com-8443 sharedSecret
----------------------------
Number of entries returned 1
----------------------------

Displaying TPS Connector Info

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

Adding TPS Connector

$ pki -n tksadmin tks-tpsconnector-add --host server.example.com --port 8443
---------------------------------------------
Added TPS connector "server.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-server.example.com-8443
  Nickname: TPS-server.example.com-8443 sharedSecret

Deleting TPS Connector

$ pki -n tksadmin tks-tpsconnector-del --host server.example.com --port 8443
-----------------------------------------------
Removed TPS connector "server.example.com:8443"
-----------------------------------------------