You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use strong identity verification, the local and remote clusters must be configured to sign request headers and to verify request
374
+
headers. This can be done through the cluster settings API or `elasticsearch.yaml`.
375
+
376
+
#### On the local cluster [_certificate_identity_local_cluster]
377
+
378
+
When [adding the remote cluster](#using-the-es-api) to the local cluster, you must configure it to sign cross-cluster requests with a certificate–private key pair. You can generate a signing certificate using [elasticsearch-certutil](#remote-clusters-security-api-key-remote-action) or use an existing certificate. The private key can be encrypted and the password must be stored securely as a secure setting in Elasticsearch keystore. Refer to the [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-signing-settings) for details.
When creating a cross-cluster API key on the remote cluster, specify a `certificate_identity` pattern that matches the Distinguished
398
+
Name (DN) of the local cluster's certificate. Use the [Create Cross-Cluster API key](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-cross-cluster-api-key) API:
The `certificate_identity` field supports regular expressions. For example:
416
+
417
+
*`"CN=.*.example.com,O=Example Corp,C=US"` matches any certificate with a CN ending in"example.com"
418
+
*`"CN=local-cluster.*,O=Example Corp,C=US"` matches any certificate with a CN starting with "local-cluster"
419
+
*`"CN=.*"` matches any certificate (not recommended for production)
420
+
421
+
For a full list of available strong identity verification settings for remote clusters, refer to the [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-signing-settings).
341
422
342
423
343
424
## Configure roles and users [remote-clusters-privileges-api-key]
0 commit comments