tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thor Tall <tall_t...@yahoo.com>
Subject Re: Client certificate with Apache 1.3, TC 4 and mod_webapp on SuSE Linux 7.3
Date Tue, 29 Jan 2002 12:00:20 GMT
I have the same problem with tomcat 4.0.1 and
mod_webapp and haven't been able to figure out how is
should work. I have looked in the mod_webapp code and
the SSL code seem to be in place. But I have not found
out what the problem is. 
Just a question do you get a null point back from your
call ?

Regards,
Thor
 
--- Markus Maeder <mmaeder@oase.ch> wrote:
> Hi!
> 
> I was playing around with Tomcat 4.0.1 and couldn't
> get the client certificates
> from apache through mod_webapp. So I tried Tomcat
> 4.0.2 b2 and the build from
> January 27. I even compiled a new mod_webapp
> (1.0.2-tc402).
> 
> Then I tried ajp13 and mod_jk. This is working fine
> after I changed my code
> (working in Tomcat 3.2x) from
> 
> String certAttribute =
> "javax.servlet.request.X509Certificate";
> X509Certificate certificate =
>
(java.security.cert.X509Certificate)request.getAttribute(certAttribute);
> 
> To version for Tomcat 4:
> String certAttribute =
> "javax.servlet.request.X509Certificate";
> X509Certificate certificate[] =
>
(java.security.cert.X509Certificate[])request.getAttribute(certAttribute);
> 
> As I think I missed something in the configuration
> of mod_webapp, I wonder, if
> somebody has a working configuration for getting
> client certificates with
> mod_webapp, apache 1.3 and mod_ssl. 
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message