From: FdaSilvaYY Date: Wed, 10 Aug 2016 16:18:33 +0000 (+0200) Subject: Fix doc and help about ca -valid option X-Git-Tag: OpenSSL_1_1_0~225 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=b4b42ce6213a7c5787460d072dabcd496aebfac8 Fix doc and help about ca -valid option Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- 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