Seems like I have teh same problem.  I went through matts HOWTO and all I
can't get the SSL enviroment plugs to pass to Tomcat.  All I can get to it
my webpages via ssl.  --Jonathan

-----Original Message-----
From: Robert Dana [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 6:22 AM
To: [EMAIL PROTECTED]
Subject: mod_jk2 and client certificates


 
Does anyone out there have any experience with reading client 
certificate information via mod_jk2?  There is a wealth (well, 
relatively speaking) of documentation available for doing this with 
mod_jk  (e.g. 
 http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html#s5) 
but it does not seem to be relevant to mod_jk2.  Or at least so it seems 
to me.  For example, httpd.conf directives like
"JkExtractSSL On" and
"JkCERTSIndicator SSL_CLIENT_CERT"
do not seem to be recognized when mod_jk2 is loaded rather than mod_jk. 
 Apache complains that these are invalid directives and refuses to start 
up.  It starts up and runs just fine without them, but doesn't seem to 
be passing the SSL environment variables along to Tomcat.

My configuration is Apache 2.0.44, Tomcat 4.1.18, mod_jk2 built from the 
connectors-4.1.18 package and the mod_ssl that comes with the 2.0.44 
source distribution.  I have the following in httpd.conf:
        SSLOptions +FakeBasicAuth +ExportCertData +StdEnvVars
Apache and Tomcat are talking to each other just fine, with Apache 
forcing client certificate authentication for a particular Tomcat 
context via a VirtualHost directive.  Everything seems to be working 
just great, but when I run a simple "snoop" servlet to look at the 
headers being passed to Tomcat from Apache, the only SSL environment 
variable being passed is "javax.servlet.request.cipher_suite"  Seems odd 
to me that it would be the only one, but there it is.

Thanks in advance for any insight any of you might have.

Robert Dana


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to