Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 1.38 KB

File metadata and controls

28 lines (19 loc) · 1.38 KB

This documentation is out of date!

This documentation page is for the versions of Sydent maintained by the Matrix.org Foundation (github.com/matrix-org/sydent), available under the Apache 2.0 licence.

If you are interested in the documentation for a later version of Sydent, please refer to github.com/element-hq/sydent.

Intra-sydent replication

Replication takes place over HTTPs connections, using server and client TLS certificates (currently each sydent instance can only be configured with a single certificate which is used as both a server and a client certificate).

Replication peers are (currently) configured in the sqlite database; you need to add a row to both the peers and peer_pubkeys tables.

The name / peername in these tables must match the server_name in the configuration of the peer, which is the name that peer will use to sign associations.

Inbound replication connections are authenticated according to the Common Name in the client certificate, so that must also match the server_name.

By default, that name is also used for outbound connections, but it is possible to override this by adding a setting to the config file such as:

[peer.example.com]
base_replication_url = https://internal-address.example.com:4434