mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
tip for generating tls_fingerprints
This commit is contained in:
parent
9e2c22c97f
commit
efd0f5a3c5
1 changed files with 6 additions and 0 deletions
|
@ -109,6 +109,12 @@ class TlsConfig(Config):
|
|||
# key. It may be necessary to publish the fingerprints of a new
|
||||
# certificate and wait until the "valid_until_ts" of the previous key
|
||||
# responses have passed before deploying it.
|
||||
#
|
||||
# You can calculate a fingerprint from a given TLS listener via:
|
||||
# openssl s_client -connect $host:$port < /dev/null 2> /dev/null |
|
||||
# openssl x509 -outform DER | openssl sha256 -binary | base64 | tr -d '='
|
||||
# or by checking matrix.org/federationtester/api/report?server_name=$host
|
||||
#
|
||||
tls_fingerprints: []
|
||||
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
||||
""" % locals()
|
||||
|
|
Loading…
Reference in a new issue