tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shankar Unni <>
Subject Re: HTTPS connector and clientAuth=want: how to retrieve client cert in servlet?
Date Tue, 01 Aug 2006 21:37:51 GMT
Shankar Unni wrote:

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

Never mind - I had botched the truststore setup for the server, so the 
client cert was not being passed in.

Answer for the archives:


     String certAttrName = "javax.servlet.request.X509Certificate";
     X509Certificate[] certchain =

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message