summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2016-04-20 17:26:23 -0400
committerAde Lee <alee@redhat.com>2016-05-02 14:45:38 -0400
commit5546024b33054181a60d91c6ec6f635c567c2ea8 (patch)
treea366e0d8af34d2764d85b7fb4aff2fd9705dec36 /base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java
parent6d37d95354b46846a055fcc8cdcf7f5f88ab729e (diff)
downloadpki-5546024b33054181a60d91c6ec6f635c567c2ea8.tar.gz
pki-5546024b33054181a60d91c6ec6f635c567c2ea8.tar.xz
pki-5546024b33054181a60d91c6ec6f635c567c2ea8.zip
Add CLI to check system certificate status
We add two different calls: 1. pki client-cert-validate - which checks a certificate in the client certdb and calls the System cert verification call performed by JSS in the system self test. This does some basic extensions and trust tests, and also validates cert validity and cert trust chain. 2. pki-server subsystem-cert-validate <subsystem> This calls pki client-cert-validate using the nssdb for the subsystem on all of the system certificates by default (or just one if the nickname is defined). This is a great thing to call when healthchecking an instance, and also will be used by pkispawn to verify the signing cert in the externally signed CA case. Trac Ticket 2043
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java b/base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java
index f09ea74e9..8bafd84f6 100644
--- a/base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/client/ClientCLI.java
@@ -39,6 +39,7 @@ public class ClientCLI extends CLI {
addModule(new ClientCertRemoveCLI(this));
addModule(new ClientCertRequestCLI(this));
addModule(new ClientCertShowCLI(this));
+ addModule(new ClientCertValidateCLI(this));
}
public String getFullName() {