使用KTOR/Netty时阻止使用TLS 1.0/1.1的方法

发布于 2025-02-11 16:05:06 字数 509 浏览 0 评论 0原文

我目前正在使用Netty和Netty一起使用KTOR Server 1.6.x,并尝试阻止使用TLS 1.0和1.1。如果本身使用Netty,看起来可以实现如何从Netty sslContext?中排除弱协议(密码套件)?有人遇到这样做吗?

更新: 得到确认目前是不可能的。...创建以下功能请求 httpps:// youtrack .jetbrains.com/dession/ktor-4587/

I'm currently using Ktor Server 1.6.x along with Netty and trying to block use of TLS 1.0 and 1.1. If using Netty on it's own it looks like this could be achieved something like approach in How to exclude weak protocols (ciphers suits) from the Netty SSLContext? but when using with Ktor it doesn't look like way to customise for example SslContextBuilder. Has anyone come across way to do this?

Update:
Got confirmation that this was not currently possible....created following feature request https://youtrack.jetbrains.com/issue/KTOR-4587/

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文