gpt4 book ai didi

java - 在 Jetty6 中优先使用强密码 [JAVA]

转载 作者:太空宇宙 更新时间:2023-11-03 13:52:14 24 4
gpt4 key购买 nike

不幸的是,出于愚蠢的原因,我不得不坚持使用 Jetty6,而且我必须优先考虑 AES128-SHA 和 AES256-SHA,而不是其他密码。 Jetty6 在其 channel 连接器中没有 setIncludeCipherSuites 选项。我怎样才能做到这一点?

我看到了有关使用 https.cipherSuites 等系统属性的建议,但它们对我没有帮助。

请帮忙,谢谢!

最佳答案

Jetty 6 早在 2010 年就停产了。

It is not safe to use Jetty 6 with modern SSL/TLS requirements, as Jetty 6 does not support 80% of the now required features and configurations that have evolved over the past years with regards to modern SSL/TLS.

Also note that Java itself has strong language around SSL/TLS and the requirement to keep your Java installation up to date as well (don't forget, Java VMs have an expiration date. If you use SSL/TLS, then the expiration of the JVM is an important consideration in your plans. Ignore it at your own peril)

Jetty 9.x 中引入了控制密码顺序(在 Jetty 中)的概念/能力,并在 Jetty 9.3.0 中完成了 TLS/1.2 工作

为了支持您的需求,需要对 Jetty 6 代码库进行大量定制。 (svn 存储库不再在线!因为 codehaus.org 已关闭)

关于java - 在 Jetty6 中优先使用强密码 [JAVA],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39482167/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com