diff options
author | Todd Short <tshort@akamai.com> | 2015-02-20 15:00:28 -0500 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-07-14 10:05:09 +0100 |
commit | 4a60bb1898ca8271a6ae46e2e2e805879eb38931 (patch) | |
tree | e2c3c335725658f449ea78c49b9793832c4f6527 /doc/man1 | |
parent | c784a838e0947fcca761ee62def7d077dc06d37f (diff) | |
download | openssl-4a60bb1898ca8271a6ae46e2e2e805879eb38931.tar.gz |
Fix #946 Add -preserve_dates to x509 app
Add the -preserve_dates dates option to preserve dates when signing
a certificate.
Prevent -days and -preserve_dates being used simultaneously
Fixes #946
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/946)
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/x509.pod | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/man1/x509.pod b/doc/man1/x509.pod index fccfd6c21a..b769829b77 100644 --- a/doc/man1/x509.pod +++ b/doc/man1/x509.pod @@ -60,6 +60,7 @@ B<openssl> B<x509> [B<-extfile filename>] [B<-extensions section>] [B<-engine id>] +[B<-preserve_dates>] =head1 DESCRIPTION @@ -121,6 +122,11 @@ to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms. +=item B<-preserve_dates> + +When signing a certificate, preserve the "notBefore" and "notAfter" dates instead +of adjusting them to current time and duration. Cannot be used with the B<-days> option. + =back =head2 Display Options @@ -355,7 +361,7 @@ B<-signkey> option. =item B<-days arg> Specifies the number of days to make a certificate valid for. The default -is 30 days. +is 30 days. Cannot be used with the B<-preserve_dates> option. =item B<-x509toreq> |