本文介绍了Request.getAttribute(" javax.servlet.request.X509Certificate")返回Null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题Request.getAttribute(javax.servlet.request.X509Certificate)在客户端证书认证期间为一些用户返回NULL和其他人的有效证书。对于失败的用户,如果我们删除并重建其Windows用户配置文件,问题得到解决。这个问题有一个解决方法,但我希望避免让我们的用户重建他们的Windows帐户配置文件。在IE或ActivIdentity中是否有特定的设置可能导致IE不发送客户端证书?我们在Windows 7上用Tomcat 6使用IE8和ActivIdentity 6.1。

I have an issue with Request.getAttribute("javax.servlet.request.X509Certificate") returning NULL for some users during client certificate authentication and a valid certificate for others. For the users where this failed, if we delete and rebuild their Windows user profile, the problem get fixed. There is a workaround for this issue but I was hoping to avoid having our users rebuild their Windows account profile. Is there a specific setting in IE or ActivIdentity that might be causing IE to not sent the client certificate? We're using IE8 and ActivIdentity 6.1 on Windows 7 with Tomcat 6.

谢谢。

p>

推荐答案

您的客户端必须配置ActivClient才能使其证书可用于Windows。 工具|高级|使证书可用于Windows 菜单项将执行此操作。

Your clients must configure ActivClient to make their certificates available to Windows. The Tools | Advanced | Make Certificates Available to Windows menu item will do this.

这篇关于Request.getAttribute(" javax.servlet.request.X509Certificate")返回Null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 06:16