mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 23:13:50 +01: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
|
# 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 a new issue