aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/man/pki---issue.1.in
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-03-27 16:12:29 +0100
committerMartin Willi <martin@revosec.ch>2014-03-31 11:39:25 +0200
commit3941d55f0116b12646efaba6ed00ec09b5a246c2 (patch)
tree5d2bea6fece2b10de47b06781d571aa1a58fb1e2 /src/pki/man/pki---issue.1.in
parent2769a22e1f9ed0dda63933254264bf9c4e3ef888 (diff)
downloadstrongswan-3941d55f0116b12646efaba6ed00ec09b5a246c2.tar.bz2
strongswan-3941d55f0116b12646efaba6ed00ec09b5a246c2.tar.xz
pki: Document --not-before/after and --dateform options in manpages
Diffstat (limited to 'src/pki/man/pki---issue.1.in')
-rw-r--r--src/pki/man/pki---issue.1.in27
1 files changed, 25 insertions, 2 deletions
diff --git a/src/pki/man/pki---issue.1.in b/src/pki/man/pki---issue.1.in
index 3fad1ae8a..375cb2fe4 100644
--- a/src/pki/man/pki---issue.1.in
+++ b/src/pki/man/pki---issue.1.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) \ No newline at end of file
+.BR pki (1)