首页 > 解决方案 > 减少 Wildfly 日志中的 javax.net.ssl 噪音

问题描述

我收到了大量这样的消息,这些消息都围绕着我故意不支持的 SSL 协议,例如 SSLv3、TLS1.0 等。

2020-02-06 13:08:30,600 ERROR [io.undertow.request] (default I/O-2) Closing SSLConduit after exception on handshake: javax.net.ssl.SSLHandshakeException: No matching application layer protocol values
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:311)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:267)

如何在 Wildfly 中抑制这些?

标签: sslloggingwildfly

解决方案


使用 CLI 这应该可以工作:

/subsystem=logging/logger=io.undertow.request:add(level=FATAL)

推荐阅读