X509码头11中未发现客户认证11
从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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在
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".