You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kama rao <in...@yahoo.com> on 2003/03/05 11:25:08 UTC

SSL configuration problem,URGENT --plz reply

Hi,

I am trying to configure ssl for my tomcat 4.0.

I changed the server.xml in conf directory and created keystore according to documentation.when i start the server,it opens and closes on itself automatically.

i checked the logs and didn't found anyproblem.

when i put the comments back to connector(for SSL) in server.xml,it works fine.

where is the problem.

Please reply,i am in a urgent situation.

thanks in advance



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

Re: SSL configuration problem,URGENT --plz reply

Posted by stev sutherland <st...@yahoo.com>.
Hi 

I haven't worked with tomcat 4.0 but I have worked
with 3.2.3 and I discovered there are more steps. 
For example. 
-- recompiling webserver.jar for SSL support.
-- downloading and including the JSSE package in the
tomcat path and the java/lib/extension
-- 
4. ADD THE SECURITY PROVIDER TO THE JAVA.SECURITY
PROPERTIES FILE
--------------------------------------------------------------------

 Edit %JAVA_HOME%/jre/lib/security/java.security
 Add:

security.provider.2=com.sun.net.ssl.internal.ssl.Provider

and here's how I prepared server.xml

2. PREPARE SERVER.XML 
-------------------------------
Go to C:\Program
Files\Exigen\Portal\tomcat\conf\server.xml and
uncomment the server.xml options as seen below.

        <Connector
className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" value="8443"/>
            <Parameter name="socketFactory"
value="org.apache.tomcat.net.SSLSocketFactory" />
	    <Parameter name="keystore" value="<THE FILE
CREATED FOR YOUR KEYSTORE>" />
	    <Parameter name="keypass" value="changeit"/>
	    <Parameter name="clientAuth" value="false"/>

        </Connector>


--- kama rao <in...@yahoo.com> wrote:
> 
> Hi,
> 
> I am trying to configure ssl for my tomcat 4.0.
> 
> I changed the server.xml in conf directory and
> created keystore according to documentation.when i
> start the server,it opens and closes on itself
> automatically.
> 
> i checked the logs and didn't found anyproblem.
> 
> when i put the comments back to connector(for SSL)
> in server.xml,it works fine.
> 
> where is the problem.
> 
> Please reply,i am in a urgent situation.
> 
> thanks in advance
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and
more


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: SSL configuration problem,URGENT --plz reply

Posted by pero <me...@gmx.de>.
Hi,

erm, what about sending your server.xml-file to the list?
This way we could perhaps determine what's going on.

Peter

> -----Original Message-----
> From: kama rao [mailto:indgroups222@yahoo.com] 
> Sent: Wednesday, March 05, 2003 11:25 AM
> To: tomcat-user@jakarta.apache.org
> Subject: SSL configuration problem,URGENT --plz reply
> 
> 
> 
> Hi,
> 
> I am trying to configure ssl for my tomcat 4.0.
> 
> I changed the server.xml in conf directory and created 
> keystore according to documentation.when i start the 
> server,it opens and closes on itself automatically.
> 
> i checked the logs and didn't found anyproblem.
> 
> when i put the comments back to connector(for SSL) in 
> server.xml,it works fine.
> 
> where is the problem.
> 
> Please reply,i am in a urgent situation.
> 
> thanks in advance
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org