mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
tip for generating tls_fingerprints
This commit is contained in:
parent
9e2c22c97f
commit
efd0f5a3c5
@ -109,6 +109,12 @@ class TlsConfig(Config):
|
|||||||
# key. It may be necessary to publish the fingerprints of a new
|
# key. It may be necessary to publish the fingerprints of a new
|
||||||
# certificate and wait until the "valid_until_ts" of the previous key
|
# certificate and wait until the "valid_until_ts" of the previous key
|
||||||
# responses have passed before deploying it.
|
# 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: []
|
||||||
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
# tls_fingerprints: [{"sha256": "<base64_encoded_sha256_fingerprint>"}]
|
||||||
""" % locals()
|
""" % locals()
|
||||||
|
Loading…
Reference in New Issue
Block a user