To encrypt Replica Of synchronization traffic, you must also configure encryption for the replica database (the destination).
Encrypt source synchronization traffic
To enable TLS for Replica Of communication only on the source database:
-
In databases, either:
- Create a new database.
- Select a database to configure and then select Edit.
-
Enable TLS.
-
Select the communication that you want to secure:
-
For a new database - Require TLS for Replica Of communications only is selected by default.
-
For an existing database that is configured to Require TLS for all communications - Select Require TLS for Replica Of communications only.
By default, client authentication is enforced. This means you must enter the syncer certificates of the clusters hosting the replicas (the destination databases).
-
-
To enter the syncer certificates:
-
Copy the syncer certificates for each cluster with a destination database:
- Sign in to the cluster.
- Go to Settings.
- In the syncer certificates box, copy the full text of the certificate to the Clipboard.
-
Select the Add button to open the certificate dialog.
-
Enter the copied certificate text into the text box below the Enforce client authentication checkbox.
You can also clear Enforce client authentication so that all clusters or clients can connect to your database without authentication.
To encrypt Replica Of synchronization traffic, you must also configure encryption for the replica database (the destination).
-
Encrypt all source communication
To enable TLS for Replica Of and client communication on the source database:
-
From the Databases menu of the admin console, either:
-
Create a new database.
-
Select an existing database and then select the Edit button.
-
-
Enable TLS and select Require TLS for all communications.
By default, client authentication is enforced so you must enter the syncer certificates of the clusters that host the destination databases.
You also need to add the certificates of the clients that connect to the database.
-
To enter the syncer and client certificates:
-
Copy the entire text of the syncer and client certificates.
For each cluster with a destination database:
- Sign in to the cluster.
- Go to Settings.
- In the syncer certificates box, copy the full text of the certificate to the Clipboard.
-
Use the Add button to open the certificate dialog.
-
Enter the copied certificate text into the text box below the Enforce client authentication checkbox.
You can also clear the Enforce client authentication checkbox to allow client connections without authentication.
-