summaryrefslogtreecommitdiffstats
path: root/doc/man1
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-26 09:22:48 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-27 11:06:01 +0200
commit8b893c35da65c7b9a126c779caf42500e1297e7d (patch)
treecebb3360c43033445dd37f598263e63db2fa5a25 /doc/man1
parent54e8f7259bec08a6655a0693a315a75d9ce65e95 (diff)
APPS req: Extend the -keyout option to be respected also with -key
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13715)
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/openssl-req.pod.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/man1/openssl-req.pod.in b/doc/man1/openssl-req.pod.in
index 4cec47f02c..7897610818 100644
--- a/doc/man1/openssl-req.pod.in
+++ b/doc/man1/openssl-req.pod.in
@@ -204,10 +204,12 @@ See L<openssl-format-options(1)> for details.
=item B<-keyout> I<filename>
-This gives the filename to write any newly created private key to.
-If this option is not given then the filename specified in the configuration
-file with the B<default_keyfile> option is used if present,
-else the key is written to standard output.
+This gives the filename to write any private key to that has been newly created
+or read from B<-key>.
+If the B<-keyout> option is not given the filename specified in the
+configuration file with the B<default_keyfile> option is used, if present.
+If a new key is generated and no filename is specified
+the key is written to standard output.
=item B<-noenc>