Commit 7d1423ea authored by ale's avatar ale
Browse files

minor fixes

parent c3303270
...@@ -21,8 +21,6 @@ Configuration ...@@ -21,8 +21,6 @@ Configuration
How to run the AutoVPN web application will depend on the deployment How to run the AutoVPN web application will depend on the deployment
method that you choose (mod_wsgi, FastCGI, standalone HTTP server...). method that you choose (mod_wsgi, FastCGI, standalone HTTP server...).
Examples of a few different drivers can be found in the apps/
directory.
In all cases though, you'll need to create a configuration file and In all cases though, you'll need to create a configuration file and
point the application at it (for example using the VPN_APP_CONFIG point the application at it (for example using the VPN_APP_CONFIG
...@@ -72,14 +70,17 @@ VPN_CA_SUBJECT ...@@ -72,14 +70,17 @@ VPN_CA_SUBJECT
In this latter case, the autoca web application will be available In this latter case, the autoca web application will be available
under the /ca/ URL prefix. under the /ca/ URL prefix.
The VPN web application supports authentication (to control who has The VPN web application supports authentication. To enable it, define
access to the certificate generation). To enable it, define the the following variables:
following variables:
AUTH_ENABLE AUTH_ENABLE
Set this to True to enable authentication Set this to True to enable authentication
AUTH_FUNCTION AUTH_FUNCTION
Set this to a function that should accept two arguments (username Set this to a function that should accept two arguments (username
and password) and return a True/Fals result. and password) and return a True/False result.
Authentication is not related in any way to the contents of the
generated client certificate, it just controls access to the generation
form itself.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment