----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

ok, i figured out how to get at the client certificate using mod_jk.
first, in accordance with the servlet specification v. 2.2, to get the
certificate one has to use
request.getAttribute("javax.servlet.request.X509Certificate"),
second, one needs to use the ajpv13 (and don't forget to start ajpv13
connector in server.xml)

this is what i've in my mod_jk.conf:

JkMount /test/*.jsp ajp13
JkMount /test/servlet/* ajp13
<Location /test>
    SSLRequire true
    SSLOptions +StdEnvVars +ExportCertData
    SSLVerifyRequire
    SSLVerifyDepth 10
</Location>



--
Aaron Stromas    | "Tick-tick-tick!!!... ja, Pantani is weg..."
Oracle Corp      |                             BRTN commentator
+1 703.708.68.21 |                              L'Alpe d'Huez
                                            1995 Tour de France




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to