Skip to content

PKI Security Domain Host CLI

Endi S. Dewata edited this page Mar 3, 2023 · 4 revisions

Overview

The pki securitydomain-host commands can be used to manage the hosts in the security domain.

Listing Security Domain Hosts

To list the hosts in the security domain:

$ pki securitydomain-host-find
  Host ID: CA ca.example.com 8443
  Hostname: ca.example.com
  Port: 8080
  Secure Port: 8443
  Domain Manager: TRUE
  Clone: FALSE

  Host ID: KRA kra.example.com 8443
  Hostname: kra.example.com
  Port: 8080
  Secure Port: 8443
  Domain Manager: FALSE
  Clone: FALSE

Displaying Security Domain Host Info

To display the info of a host in the security domain:

$ pki securitydomain-host-show "CA ca.example.com 8443"
  Host ID: CA ca.example.com 8443
  Hostname: ca.example.com
  Port: 8080
  Secure Port: 8443
  Domain Manager: TRUE
  Clone: FALSE

Adding Security Domain Host

If necessary, the administrator can add a host manually into the security domain:

$ pki -n caadmin securitydomain-host-add "OCSP ocsp.example.com 8443"

Removing Security Domain Host

If necessary, the administrator can remove a host manually from the security domain:

$ pki -n caadmin securitydomain-host-del "OCSP ocsp.example.com 8443"
Clone this wiki locally