diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2021-06-22 14:53:22 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-06-23 20:03:04 +0000 |
commit | fda0ba7738a8d87d302d460cba6fd490552aca79 (patch) | |
tree | b2ae3131809ae56ca98f713637b1772b0e24ac6b /server/sonar-main/src/test | |
parent | 6a472ec075f9cf5d0ae58e8ebb0dfe48b7f74f2a (diff) | |
download | sonarqube-fda0ba7738a8d87d302d460cba6fd490552aca79.tar.gz sonarqube-fda0ba7738a8d87d302d460cba6fd490552aca79.zip |
SONAR-14854 Support TLSv1.3,TLSv1.2 for Elasticsearch transport connection encryption
Diffstat (limited to 'server/sonar-main/src/test')
-rw-r--r-- | server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java b/server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java index 23722f2624d..cdceb3b305f 100644 --- a/server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java +++ b/server/sonar-main/src/test/java/org/sonar/application/es/EsSettingsTest.java @@ -390,7 +390,9 @@ public class EsSettingsTest { Map<String, String> outputParams = settings.build(); - assertThat(outputParams).containsEntry("xpack.security.transport.ssl.enabled", "true") + assertThat(outputParams) + .containsEntry("xpack.security.transport.ssl.enabled", "true") + .containsEntry("xpack.security.transport.ssl.supported_protocols", "TLSv1.3,TLSv1.2") .containsEntry("xpack.security.transport.ssl.keystore.path", keystore.getName()) .containsEntry("xpack.security.transport.ssl.truststore.path", truststore.getName()); } |