ssl - 减少 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 中抑制这些?
解决方案
使用 CLI 这应该可以工作:
/subsystem=logging/logger=io.undertow.request:add(level=FATAL)
推荐阅读
- git - GitHub 问题:提交/推送重复的 Java Spring 根文件夹到不同的存储库
- docker - Docker动态IP、Server ip白名单
- php - SQL - 将数据从一个表列复制到另一个表列
- greenplum - Greenplum 与 mysql 性能对比
- redux - 如何修改我的减速器以获取商店产品的频率?
- python - pytorch:随机分类器:ValueError:优化器得到一个空参数列表
- ios - 无法验证文本字段是否为空
- c# - MVC - 如果相同的 URL 已经在选项卡中打开,则替换现有的
- oracle - Oracle 触发器中的动态查询错误
- c# - 如何在 Windows 窗体应用程序的项目文件夹中查找文件