From b4b42ce6213a7c5787460d072dabcd496aebfac8 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Wed, 10 Aug 2016 18:18:33 +0200 Subject: [PATCH] Fix doc and help about ca -valid option Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- apps/ca.c | 3 ++- doc/apps/ca.pod | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 B [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 -- 2.34.1