A newer version of this documentation is available.

View Latest

Use an SSL certificate

As a security best practice, periodically rotate the XDCR certificates and also make sure that you instantiate a new certificate on the remote cluster.

The following example is an SSL certificate obtained on the cluster.

xdcr ssl cert

XDCR data security error messages

When creating the cluster reference, if the SSL certificates are not the same on the destination and source clusters, the following error message displays: Attention - Got certificate mismatch while trying to send https request to HOST:18091

The SSL certificates can become mismatched, such as when the certificate on the destination cluster is regenerated, and the source cluster is not updated with the new certificate. In this case, vBucket replication stops and the following error message displays: Error replicating vbucket <bucketNumber>. Please see logs for details.