diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-01 14:39:05 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-01 14:39:05 +0100 |
commit | 4d1002fd5290d157ee1a4cd1dc5836621937fac5 (patch) | |
tree | 1c589354dbf65231cbf121cb28bce13c83b8ed41 /docs | |
parent | Ability to specify list of custom CA certificates (diff) | |
download | synapse-4d1002fd5290d157ee1a4cd1dc5836621937fac5.tar.xz |
Documentation of new options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/MSC1711_certificates_FAQ.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/MSC1711_certificates_FAQ.md b/docs/MSC1711_certificates_FAQ.md index 8eb22656db..c7959a27ca 100644 --- a/docs/MSC1711_certificates_FAQ.md +++ b/docs/MSC1711_certificates_FAQ.md @@ -177,6 +177,41 @@ You can do this with a `.well-known` file as follows: on `customer.example.net:8000` it correctly handles HTTP requests with Host header set to `customer.example.net:8000`. +## Turning off certificate validation + +It is possible to turn off certificate validation for remote servers, but +note that this must be explicitly enabled and is thus only suitable for +private federations. This will only disable TLS certificate validation on +federation endpoints; other requests made to recaptcha, identity services +etc. will be unaffected. + +``` +tls.federation_verify_certificates = false +``` + +You can also only disable certificate validation for a specific set of +homeservers: + +``` +tls.federation_certificate_verification_whitelist: + - subdomain.my-server.org + - example.org + - 1.2.3.4 +``` + +## Specifying your own Certificate Authorities + +If you would like to specify your own list of trusted Certificate +Authorities, you can do so with the following option. **Note that this list +will replace any certificates provided by your operating environment:** + +``` +tls.federation_custom_ca_list: + - myCA1.pem + - myCA2.pem +``` + +Certificate files must be provided in PEM format. ## FAQ |