On 14/10/2011 18:47, Bryant Panyarachun wrote:
> Hi all,
> 
> I am upgrading from Tomcat 6.0.18 to 7.0.21 (32-bit Win zip).
> 
> Previously, when requesting a client certificate I would use:
> 
> X509Certificate[] certs =
> (X509Certificate[])req.getAttribute("javax.net.ssl.peer_certificates");
> 
> However, after upgrading to 7.0.21 this no longer works. Instead it returns
> null.
> 
> However, I can retrieve the client certificate when I use:
> 
> X509Certificate[] certs =
> (X509Certificate[])req.getAttribute("javax.servlet.request.X509Certificate");
> 
> I'm curious as to why the javax.net.ssl.peer_certificates parameter no
> longer works in this case. Is it an issue cause by a Tomcat regression
> change?

I don't see that parameter anywhere in the servlet specification.
Neither do I see it in the Tomcat code base.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to