From a8055c70fa0828636b99fe613a642a2066c0aa8b Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 26 Feb 2020 15:25:43 -0500 Subject: [PATCH] Add some missing env var documentation Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/11189) --- doc/man1/CA.pl.pod | 9 ++++++++- doc/man7/openssl-env.pod | 17 ++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/man1/CA.pl.pod b/doc/man1/CA.pl.pod index db444d5683..4c53970890 100644 --- a/doc/man1/CA.pl.pod +++ b/doc/man1/CA.pl.pod @@ -174,11 +174,18 @@ Sign the request: CA.pl -signreq +=head1 ENVIRONMENT + +The environment variable B may be used to specify a +configuration option and value to the B and B commands invoked by +this script. It's value should be the option and pathname, as in +C<-config /path/to/conf-file>. + =head1 NOTES Most of the filenames mentioned can be modified by editing the B script. -If the demoCA directory already exists then the B<-newca> command will not +If the F directory already exists then the B<-newca> command will not overwrite it and will do nothing. This can happen if a previous call using the B<-newca> option terminated abnormally. To get the correct behaviour delete the demoCA directory if it already exists. diff --git a/doc/man7/openssl-env.pod b/doc/man7/openssl-env.pod index be89f85172..f59cd59610 100644 --- a/doc/man7/openssl-env.pod +++ b/doc/man7/openssl-env.pod @@ -20,15 +20,22 @@ See L. =item B -Specifies the path to the B executable. Only used by -the B script. -See L. +Specifies the path to the B executable. Used by +the B script (see L) +and by the B script (see L -=item B +=item B, B -Specifies the path to a configuration file. +Specifies the path to a configuration file and the directory for +included files. See L and L. +=item B + +Specifies a configuration option and filename for the B and B +commands invoked by the B script. +See L. + =item B Specifies the directory from which dynamic engines are loaded. -- 2.39.2