File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
content/operate/rs/security/encryption/tls Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -118,22 +118,26 @@ Replace `<guid>` with your Active-Active database's globally unique identifier.
118118
119119-tab-sep-
120120
121- To enable TLS for Active-Active cluster communication only:
121+ You can use an [ update database configuration] ({{<relref "/operate/rs/references/rest-api/requests/bdbs#put-bdbs">}}) request to enable TLS.
122+
123+ To enable TLS for Active-Active database communications only:
122124
123125``` sh
124- curl -v -k -u < username> :< password> \
125- -H " Content-type: application/json" \
126- -d ' { "enforce_client_authentication": "disabled", "tls_mode": "replica_ssl" }' \
127- -X PUT https://< cluster-fqdn> :9443/v1/bdbs/< bdb-id>
126+ PUT https://< host> :9443/v1/bdbs/< database-id>
127+ {
128+ " enforce_client_authentication" : " disabled" ,
129+ " tls_mode" : " replica_ssl"
130+ }
128131```
129132
130- To enable TLS for all communications (cluster and client) :
133+ To enable TLS for all communications:
131134
132135``` sh
133- curl -v -k -u < username> :< password> \
134- -H " Content-type: application/json" \
135- -d ' { "enforce_client_authentication": "disabled", "tls_mode": "enabled" }' \
136- -X PUT https://< cluster-fqdn> :9443/v1/bdbs/< bdb-id>
136+ PUT https://< host> :9443/v1/bdbs/< database-id>
137+ {
138+ " enforce_client_authentication" : " disabled" ,
139+ " tls_mode" : " enabled"
140+ }
137141```
138142
139143{{< /multitabs >}}
You can’t perform that action at this time.
0 commit comments