X509码头11中未发现客户认证11

发布于 2025-02-05 12:38:32 字数 161 浏览 2 评论 0原文

从Jetty 10到Jetty 11进行了最近的升级后,我们对使用客户端证书的连接有问题。客户端证书曾经在请求属性“ Javax.servlet.request.x509certificate”中可用,但是由于Jetty 11,情况并非如此。这是一个错误还是有其他方法可以在Jetty 11中获取客户端证书?

After a recent upgrade from Jetty 10 to Jetty 11 we have a problem with connections that use a client certificate. The client certificate used to be available in a request attribute "javax.servlet.request.X509Certificate", but since Jetty 11 this is not longer the case. Is this is a bug or is there another way to obtain the client certificate in Jetty 11?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深者入戏 2025-02-12 12:38:32

我在org.eclipse.jetty.server.securreequestcustomizer中找到了Anwser。在Jetty 11中,客户端证书的属性名称已从“ javax.servlet.request.x509certificate”更改为“ jakarta.servlet.request.x509certificate”。

I found the anwser in org.eclipse.jetty.server.SecureRequestCustomizer. In Jetty 11 the attribute name for the client certificate has changed from "javax.servlet.request.X509Certificate" to "jakarta.servlet.request.X509Certificate".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文