aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-06 19:01:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-07 14:10:24 +0300
commit7e60138c3231203a7f61130982560b7db6ec892c (patch)
tree0e6989ea9982619b1fd9bb13451fe6f8027f7d84 /etc
parent52dcc79ed954c0375852d2194438dcdbbf98c2dd (diff)
Add support for openssl-envvar module option
Diffstat (limited to 'etc')
-rw-r--r--etc/brep-module.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/brep-module.conf b/etc/brep-module.conf
index 6499d4b..dd8f048 100644
--- a/etc/brep-module.conf
+++ b/etc/brep-module.conf
@@ -172,6 +172,27 @@ menu About=?about
# openssl-option
+# Environment variable to be set (<name>=<value>) or unset (just <name>) for
+# the openssl program (see openssl for details). Repeat this option to specify
+# multiple openssl variables. Note that unspecified variables are inherited
+# from the web server process.
+#
+# You need to at least set the RANDFILE environment variable to change the
+# default location of the openssl program seed file and maybe also the
+# OPENSSL_CONF variable if you would like to use a custom openssl configuration
+# file.
+#
+# openssl-envvar RANDFILE=/home/brep/www-data-openssl.rnd
+# openssl-envvar OPENSSL_CONF=/home/brep/www-data-openssl.cnf
+#
+# To create www-data-openssl.rnd with suitable permissions, run (as user brep):
+#
+# $ touch www-data-openssl.rnd
+# $ sudo chgrp www-data www-data-openssl.rnd
+# $ chmod g+rw www-data-openssl.rnd
+#
+
+
# Trace verbosity. Disabled by default.
#
# verbosity 0