From bce6e416227dd4416e1f37a862376dc13083c017 Mon Sep 17 00:00:00 2001 From: Johannes Freden Jansson Date: Fri, 10 Oct 2025 14:48:43 +0200 Subject: [PATCH] Fix RCS Signing BWC Tests by Adding CA cert to FC --- muted-tests.yml | 3 --- .../RemoteClusterSecurityBWCToRCS2ClusterRestIT.java | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index b065e52082e91..f99078f7bab23 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -624,9 +624,6 @@ tests: - class: org.elasticsearch.xpack.restart.FullClusterRestartIT method: testDataStreams {cluster=UPGRADED} issue: https://github.com/elastic/elasticsearch/issues/136353 -- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityBWCToRCS2ClusterRestIT - method: testBwcCCSViaRCS1orRCS2 - issue: https://github.com/elastic/elasticsearch/issues/136368 - class: org.elasticsearch.xpack.restart.FullClusterRestartIT method: testServiceAccountApiKey {cluster=UPGRADED} issue: https://github.com/elastic/elasticsearch/issues/136390 diff --git a/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBWCToRCS2ClusterRestIT.java b/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBWCToRCS2ClusterRestIT.java index 05d0218b65292..c62a18602ae2d 100644 --- a/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBWCToRCS2ClusterRestIT.java +++ b/x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBWCToRCS2ClusterRestIT.java @@ -40,6 +40,8 @@ public class RemoteClusterSecurityBWCToRCS2ClusterRestIT extends AbstractRemoteC .setting("xpack.ml.enabled", "false") .setting("remote_cluster_server.enabled", "true") .setting("remote_cluster.port", "0") + .setting("cluster.remote.signing.certificate_authorities", "signing.crt") + .configFile("signing.crt", Resource.fromClasspath("signing/signing.crt")) .setting("xpack.security.remote_cluster_server.ssl.enabled", "true") .setting("xpack.security.remote_cluster_server.ssl.key", "remote-cluster.key") .setting("xpack.security.remote_cluster_server.ssl.certificate", "remote-cluster.crt")