Skip to content

Commit

Permalink
Fix doc and help about ca -valid option
Browse files Browse the repository at this point in the history
  • Loading branch information
FdaSilvaYY committed Aug 10, 2016
1 parent e86e76a commit d31feed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ca.c
Expand Up @@ -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, '<',
Expand Down
5 changes: 5 additions & 0 deletions doc/apps/ca.pod
Expand Up @@ -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>]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d31feed

Please sign in to comment.