By Date: <-- -->
By Thread: <-- -->

HTTPS connector and clientAuth=want: how to retrieve client cert in servlet?



Shankar Unni wrote:

However, I'm stuck trying to retrieve the client certificate from the ServletRequest in the servlet itself.

Q: How do I get to the client's X.509 certificate? Help!

I forgot to mention: the attributes that I do see in HttpServletRequest are:

req attrName = javax.servlet.request.cipher_suite
req Value = SSL_RSA_WITH_RC4_128_MD5
==
req attrName = javax.servlet.request.key_size
req Value = 128
==
req attrName = javax.servlet.request.ssl_session
req Value = ...

No peer_certificates..


--------------------------------------------------------------------- To start a new topic, e-mail: users (at) tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org For additional commands, e-mail: users-help (at) tomcat.apache.org