summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-04-01 14:39:05 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-04-01 14:39:05 +0100
commit4d1002fd5290d157ee1a4cd1dc5836621937fac5 (patch)
tree1c589354dbf65231cbf121cb28bce13c83b8ed41 /docs
parentAbility to specify list of custom CA certificates (diff)
downloadsynapse-4d1002fd5290d157ee1a4cd1dc5836621937fac5.tar.xz
Documentation of new options
Diffstat (limited to 'docs')
-rw-r--r--docs/MSC1711_certificates_FAQ.md35
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