Skip to content
Snippets Groups Projects
Commit 564412b9 authored by ale's avatar ale
Browse files

Add documentation on the keystore client configuration

parent 58b44b15
Branches
No related tags found
No related merge requests found
...@@ -57,13 +57,19 @@ understands the following attributes: ...@@ -57,13 +57,19 @@ understands the following attributes:
*remote_addr_header* instead *remote_addr_header* instead
* `remote_addr_header`: HTTP header to use to obtain the remote * `remote_addr_header`: HTTP header to use to obtain the remote
client address, when the request comes from a trusted forwarder client address, when the request comes from a trusted forwarder
* `http_server` specifies standard parameters for the HTTP server: * `keystore`: configures the connection to the keystore service
* `tls` contains the server-side TLS configuration: * `backend_url`: URL for the keystore service
* `cert` is the path to the server certificate * `tls_config`: client TLS configuration
* `key` is the path to the server's private key * `cert`: path to the client certificate
* `ca` is the path to the CA used to validate clients * `key`: path to the private key
* `acl` specifies TLS-based access controls, a list of entries * `ca`: path to the CA used to validate the server
with the following attributes: * `http_server`: specifies standard parameters for the HTTP server
* `tls`: server-side TLS configuration
* `cert`: path to the server certificate
* `key`: path to the server's private key
* `ca`: path to the CA used to validate clients
* `acl`: TLS-based access controls, a list of entries with the
following attributes:
* `path` is a regular expression to match the request URL path * `path` is a regular expression to match the request URL path
* `cn` is a regular expression that must match the CommonName * `cn` is a regular expression that must match the CommonName
part of the subject of the client certificate part of the subject of the client certificate
...@@ -78,6 +84,13 @@ accesses. This information is tracked by the ...@@ -78,6 +84,13 @@ accesses. This information is tracked by the
It is implemented very simply, with a long-term cookie stored in the It is implemented very simply, with a long-term cookie stored in the
browser. browser.
## Key store
On login, the login server can unlock the user's key store
(see [keystore](https://git.autistici.org/id/keystore)). The
associated key will be cleared either on logout, or when the login
session expires.
# API # API
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment