]> granicus.if.org Git - openssl/commitdiff
Fix doc and help about ca -valid option
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 10 Aug 2016 16:18:33 +0000 (18:18 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 11 Aug 2016 09:59:21 +0000 (10:59 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
apps/ca.c
doc/apps/ca.pod

index 80595753629efa8a616eb3a48bc59c17ea2470d5..331c1364dcc64984a6672c1338f0b4f7c7137619 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -194,7 +194,8 @@ OPTIONS ca_options[] = {
     {"spkac", OPT_SPKAC, '<',
      "File contains DN and signed public key and challenge"},
     {"revoke", OPT_REVOKE, '<', "Revoke a cert (given in file)"},
-    {"valid", OPT_VALID, 's'},
+    {"valid", OPT_VALID, 's',
+     "Add a Valid(not-revoked) DB entry about a cert (given in file)"},
     {"extensions", OPT_EXTENSIONS, 's',
      "Extension section (override value in config file)"},
     {"extfile", OPT_EXTFILE, '<',
index 9bf123919092b566229d5a7dfef81d6452422e95..3be69795886fd4478ba50609e4929b4220b6de30 100644 (file)
@@ -13,6 +13,7 @@ B<openssl> B<ca>
 [B<-name section>]
 [B<-gencrl>]
 [B<-revoke file>]
+[B<-valid file>]
 [B<-status serial>]
 [B<-updatedb>]
 [B<-crl_reason reason>]
@@ -287,6 +288,10 @@ the number of hours before the next CRL is due.
 
 a filename containing a certificate to revoke.
 
+=item B<-valid filename>
+
+a filename containing a certificate to add a Valid certificate entry.
+
 =item B<-status serial>
 
 displays the revocation status of the certificate with the specified