Hi,
I let an Apache server validate my users certificates
and I would now like to access the X.509 certicate in
my tomcat4 servlet.
I can access the servlet from my browser but I can not
get the certificate in the servlet.
I think that I need to get the certificate like this:
java.security.cert.X509Certificate[] certs =
(java.security.cert.X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
but it doesn't work as certs = null
I have tried both with and without scheme and secure
in the connector in the server.xml file:
====== server.xml snip.
<Connector
className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="1" scheme="https"
secure="true"/>
======
Any help on this will be greatly appreciated as I have
already spend too much time on this.
Thanks,
Thor
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>