Skip to content

Commit b941b6b

Browse files
committed
temporarily disable error logging for unsupported ciphers on JDK 24
1 parent 4de7de0 commit b941b6b

File tree

1 file changed

+2
-1
lines changed
  • x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl

1 file changed

+2
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ssl/SSLService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ private SSLContextHolder createSslContext(
501501
sslContext.init(new X509ExtendedKeyManager[] { keyManager }, new X509ExtendedTrustManager[] { trustManager }, null);
502502

503503
// check the supported ciphers and log them here to prevent spamming logs on every call
504-
supportedCiphers(sslContext.getSupportedSSLParameters().getCipherSuites(), sslConfiguration.getCipherSuites(), true);
504+
// FIXME error log for unsupported ciphers on JDK 24 breaks packaging tests (see ES-10984)
505+
supportedCiphers(sslContext.getSupportedSSLParameters().getCipherSuites(), sslConfiguration.getCipherSuites(), false);
505506

506507
return new SSLContextHolder(sslContext, sslConfiguration);
507508
} catch (NoSuchAlgorithmException | KeyManagementException e) {

0 commit comments

Comments
 (0)