Skip to content

Commit efd41a4

Browse files
authored
Fix RCS Signing BWC Tests by Adding CA cert to FC (#136384)
We have to trust the cert we're signing with. Introduced in #135674. Resolves: #136368
1 parent ca5ca98 commit efd41a4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,6 @@ tests:
621621
- class: org.elasticsearch.xpack.restart.FullClusterRestartIT
622622
method: testDataStreams {cluster=UPGRADED}
623623
issue: https://github.com/elastic/elasticsearch/issues/136353
624-
- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityBWCToRCS2ClusterRestIT
625-
method: testBwcCCSViaRCS1orRCS2
626-
issue: https://github.com/elastic/elasticsearch/issues/136368
627624
- class: org.elasticsearch.xpack.restart.FullClusterRestartIT
628625
method: testServiceAccountApiKey {cluster=UPGRADED}
629626
issue: https://github.com/elastic/elasticsearch/issues/136390

x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityBWCToRCS2ClusterRestIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ public class RemoteClusterSecurityBWCToRCS2ClusterRestIT extends AbstractRemoteC
4040
.setting("xpack.ml.enabled", "false")
4141
.setting("remote_cluster_server.enabled", "true")
4242
.setting("remote_cluster.port", "0")
43+
.setting("cluster.remote.signing.certificate_authorities", "signing.crt")
44+
.configFile("signing.crt", Resource.fromClasspath("signing/signing.crt"))
4345
.setting("xpack.security.remote_cluster_server.ssl.enabled", "true")
4446
.setting("xpack.security.remote_cluster_server.ssl.key", "remote-cluster.key")
4547
.setting("xpack.security.remote_cluster_server.ssl.certificate", "remote-cluster.crt")

0 commit comments

Comments
 (0)