pki: Document --not-before/after and --dateform options in manpages
This commit is contained in:
@@ -14,6 +14,8 @@ pki \-\-issue \- Issue a certificate using a CA certificate and key
|
||||
.OP \-\-dn subject-dn
|
||||
.OP \-\-san subjectAltName
|
||||
.OP \-\-lifetime days
|
||||
.OP \-\-not-before datetime
|
||||
.OP \-\-not-after datetime
|
||||
.OP \-\-serial hex
|
||||
.OP \-\-flag flag
|
||||
.OP \-\-digest digest
|
||||
@@ -88,7 +90,28 @@ Subject distinguished name (DN) of the issued certificate.
|
||||
subjectAltName extension to include in certificate. Can be used multiple times.
|
||||
.TP
|
||||
.BI "\-l, \-\-lifetime " days
|
||||
Days the certificate is valid, default: 1095.
|
||||
Days the certificate is valid, default: 1095. Ignored if both
|
||||
an absolute start and end time are given.
|
||||
.TP
|
||||
.BI "\-F, \-\-not-before " datetime
|
||||
Absolute time when the validity of the certificate begins. The datetime format
|
||||
is defined by the
|
||||
.B \-\-dateform
|
||||
option.
|
||||
.TP
|
||||
.BI "\-T, \-\-not-after " datetime
|
||||
Absolute time when the validity of the certificate ends. The datetime format is
|
||||
defined by the
|
||||
.B \-\-dateform
|
||||
option.
|
||||
.TP
|
||||
.BI "\-D, \-\-dateform " form
|
||||
strptime(3) format for the
|
||||
.B \-\-not\-before
|
||||
and
|
||||
.B \-\-not\-after
|
||||
options, default:
|
||||
.B %d.%m.%y %T
|
||||
.TP
|
||||
.BI "\-s, \-\-serial " hex
|
||||
Serial number in hex. It is randomly allocated by default.
|
||||
@@ -176,4 +199,4 @@ given PKCS#10 certificate request and the options above:
|
||||
.
|
||||
.SH "SEE ALSO"
|
||||
.
|
||||
.BR pki (1)
|
||||
.BR pki (1)
|
||||
|
||||
Reference in New Issue
Block a user