Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 apache mina SslFilter 中禁用 ssl v3 支持? https://mina.apache.org/
您可以只指定支持的协议(在这种情况下,是该TLS系列中的所有协议。代码:
TLS
final SslFilter sslFilter = new SslFilter(sslContext); sslFilter.setEnabledProtocols(new String[] {"TLSv1"}); acceptor.getFilterChain().addLast("ssl", sslFilter);