aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-08-10 18:18:33 +0200
committerMatt Caswell <matt@openssl.org>2016-08-11 10:59:21 +0100
commitb4b42ce6213a7c5787460d072dabcd496aebfac8 (patch)
treeb4644158f0a26f53523fa7fb29899380c130745f
parentbe82f7b32087496d94edaa309a7b2ea9a8c84e1d (diff)
downloadopenssl-b4b42ce6213a7c5787460d072dabcd496aebfac8.tar.gz
Fix doc and help about ca -valid option
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
-rw-r--r--apps/ca.c3
-rw-r--r--doc/apps/ca.pod5
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 8059575362..331c1364dc 100644
--- 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, '<',
diff --git a/doc/apps/ca.pod b/doc/apps/ca.pod
index 9bf1239190..3be6979588 100644
--- a/doc/apps/ca.pod
+++ b/doc/apps/ca.pod
@@ -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