tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raja Sekhar" <alekya_r...@eudoramail.com>
Subject Re: Problem with Connectors - Urgent help required Please!!!
Date Wed, 01 May 2002 15:02:54 GMT
Hi  Christian,

That was a great help of yours. It really solved my SSL problem & now I have successfully
setup the SSL connection between Apache & Tomcat. But now I got another problem. I have
set the Client Authentication to true so that in SSL Handshake server accepts the client certificate
from browser. This is also done, but I am unable to receive the certificate in the servlet
running on Tomcat.

I am using the following piece of code in my servlet

Object certReqObject = request.getAttribute("javax.servlet.request.X509Certificate");

The object returns null. This works fine when I configure SSL on Tomcat directly. But through
Apache, do I have to do anything else? Presently my Tomcat server doesnt have any SSL configuration.

Any help would be highly appreciated.

Thanks & Regards,

..Raj
--

On Tue, 30 Apr 2002 11:02:26   Christian Bockerman wrote:
>Hi Raja !
>
>On Tue, Apr 30, 2002 at 01:06:40AM -0700, Raja  Sekhar wrote:
>> Hi,
>> 
>> I am very new to Apache & Tomcat. The configuration what I have is
>> 
>> Redhat Linux 7.1
>> Apache 1.3.23
>> Tomcat 4.0.3.
>> 
>> I have installed Apache & Tomcat successfully and they are running 
>> fine. Now the problem is how to route the request from Apache to 
>> Tomcat. Please suggest me the best connector to use. This should 
>> support SSL for me. I have configured Apache with mod-ssl for SSL.
>> I have a servlet on Tomcat which should be able to get these SSL 
>> Environment variables. So in such scenarios, what connector can I 
>> use & please give a URL or procedure how to install this connector.
>
>>From my experience I would recommend building Apache with SSL-Support
>and leaving the whole SSL-thing to Apache. I'm running Apache+mod_ssl
>which uses mod_webapp to connect to tomcat-4.0.1 runnning on jdk1.3.0
>and it works great.
>
>In the beginning I was walking through the documentation trying to
>find how to set up mod_webapp and did not find anything. I think there
>are a few lines how to set up mod_webapp in the example server.xml.
>
>Basically it's just loading that mod_webapp into Apache like all the
>other modules
>  LoadModule webapp_module libexec/mod_webapp.so
>  AddModule mod_webapp.c
>
>and then deploying the web-applications running on your tomcat :
>
>  WebAppConnection  con_name  warp      localhost:8008
>  WebAppDeploy      webapp    con_name  /
>
>The 2 lines above should deploy the web-application "webapp" (the
>"context" webapp) to the root-directory of your webserver. All this
>is done in your httpd.conf
>
>> p.s : I read through the tomcat documentation or archives where I
>> found your comments on connectors. I am confused which one to use
>> & as such I dont find any mod_jk packages or native directories in
>> my 4.0.3 binary installation. But all the documents which I get on
>> the internet site talk about how to configure mod_jk with Tomcat.
>> Please help me out because this is a urgent task for me.
>
>You can find mod_webapp.so and mod_jk-01.so here :
>
>  http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/linux/i386/
>
>
>-- 
>
>-Christian
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.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