summaryrefslogtreecommitdiffstats
path: root/base/java-tools
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-06-29 15:09:07 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-06-30 22:51:44 -0400
commitc9180f086971dcf6f183ed5f627510f2183cc61e (patch)
treeee1555686382abf99bc3902f0f79b7b83a4888b6 /base/java-tools
parent9b62371172bbf0868e84e7f1d8d9ab48e5a0afff (diff)
downloadpki-c9180f086971dcf6f183ed5f627510f2183cc61e.tar.gz
pki-c9180f086971dcf6f183ed5f627510f2183cc61e.tar.xz
pki-c9180f086971dcf6f183ed5f627510f2183cc61e.zip
Updated pki-cert man page.
The man page for pki-cert has been modified to describe the file format used to specify the search constraints. https://fedorahosted.org/pki/ticket/995
Diffstat (limited to 'base/java-tools')
-rw-r--r--base/java-tools/man/man1/pki-cert.167
1 files changed, 67 insertions, 0 deletions
diff --git a/base/java-tools/man/man1/pki-cert.1 b/base/java-tools/man/man1/pki-cert.1
index ad2f56617..ffa1fea5d 100644
--- a/base/java-tools/man/man1/pki-cert.1
+++ b/base/java-tools/man/man1/pki-cert.1
@@ -105,6 +105,73 @@ It is also possible to search for and list specific certificates by adding a sea
.B pki ca-cert-find --issuedOnFrom 2012-06-15
+To list certificates with search constraints defined in a file:
+
+.B pki ca-cert-find --input <filename>
+
+where the file is in the following format:
+
+.IP
+.nf
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<CertSearchRequest>
+
+ <serialNumberRangeInUse>true</serialNumberRangeInUse>
+ <serialFrom></serialFrom>
+ <serialTo></serialTo>
+
+ <subjectInUse>false</subjectInUse>
+ <eMail></eMail>
+ <commonName></commonName>
+ <userID></userID>
+ <orgUnit></orgUnit>
+ <org></org>
+ <locality></locality>
+ <state></state>
+ <country></country>
+
+ <matchExactly>false</matchExactly>
+
+ <status></status>
+
+ <revokedByInUse>false</revokedByInUse>
+ <revokedBy></revokedBy>
+
+ <revokedOnFrom>false</revokedOnFrom>
+ <revokedOnTo></revokedOnTo>
+
+ <revocationReasonInUse>false</revocationReasonInUse>
+ <revocationReason></revocationReason>
+
+ <issuedByInUse>false</issuedByInUse>
+ <issuedBy></issuedBy>
+
+ <issuedOnInUse>false</issuedOnInUse>
+ <issuedOnFrom></issuedOnFrom>
+ <issuedOnTo></issuedOnTo>
+
+ <validNotBeforeInUse>false</validNotBeforeInUse>
+ <validNotBeforeFrom></validNotBeforeFrom>
+ <validNotBeforeTo></validNotBeforeTo>
+
+ <validNotAfterInUse>false</validNotAfterInUse>
+ <validNotAfterFrom></validNotAfterFrom>
+ <validNotAfterTo></validNotAfterTo>
+
+ <validityLengthInUse>false</validityLengthInUse>
+ <validityOperation></validityOperation>
+ <validityCount></validityCount>
+ <validityUnit></validityUnit>
+
+ <certTypeInUse>false</certTypeInUse>
+ <certTypeSubEmailCA></certTypeSubEmailCA>
+ <certTypeSubSSLCA></certTypeSubSSLCA>
+ <certTypeSecureEmail></certTypeSecureEmail>
+
+</CertSearchRequest>
+.fi
+
+.PP
To view a particular certificate:
.B pki ca-cert-show <certificate ID>