tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Kühn <Stephan.Ku...@Voicetrust.com>
Subject RE: SSL Problem need Help!
Date Fri, 30 Jul 2004 07:21:36 GMT
What do you mean exactly???
Can you give me a sample server.xml for this ?



-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Bill Barker
Sent: Freitag, 30. Juli 2004 05:45
To: tomcat-user@jakarta.apache.org
Subject: Re: SSL Problem need Help!

Edit the file by hand, and get rid of the 'keypass' attribute.  There is a
bunch of other stuff you could clean up, but it's mostly aliases of the same
attribute over and over.

"Stephan Kühn" <Stephan.Kuehn@Voicetrust.com> wrote in message
news:ABE90F1331FCD8448BBFDA9DB5552EAD1A2DB9@vts4.muc.de.vtag...
Hallo,



i new with Tomcat and i use Tomcat 5.16 with j2re1.4.2_03 on Windows.

So i whnat to configure a server base ssl auth. So i create my cert with xca
my own ca and a serfver cert in pkcs12 format.



So when i try to setup https with webgui after restart the apache/tomcat
service, the service faild to start. Why evey



Here is my server.xml



<?xml version='1.0' encoding='utf-8'?>

<Server>

  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>

  <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>

  <GlobalNamingResources>

    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>

    <Resource auth="Container" description="User database that can be
updated and saved" name="UserDatabase"
type="org.apache.catalina.UserDatabase"/>

    <ResourceParams name="UserDatabase">

      <parameter>

        <name>factory</name>

        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>

      </parameter>

      <parameter>

        <name>pathname</name>

        <value>conf/tomcat-users.xml</value>

      </parameter>

    </ResourceParams>

  </GlobalNamingResources>

  <Service name="Catalina">

    <Connector acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" port="8080" redirectPort="8443"
maxSpareThreads="75" maxThreads="150" minSpareThreads="25">

    </Connector>

    <Connector port="8009" protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
redirectPort="8443">

    </Connector>

    <Connector address="127.0.0.1" enableLookups="true"
keystoreFile="D:\VoiceTrust_AG\Web\Tomcat\Certs\VTS.p12"
keystorePass="test123" port="8553" redirectPort="8554" scheme="https"
sslProtocol="TLS" algorithm="SunX509" clientauth="false" keypass="changeit"
keystore="D:\VoiceTrust_AG\Web\Tomcat\Certs\VTS.p12" keytype="PKCS12"
protocol="TLS" secure="true">

      <Factory
className="org.apache.coyote.tomcat5.CoyoteServerSocketFactory"
keystoreFile="D:\VoiceTrust_AG\Web\Tomcat\Certs\VTS.p12"
keystorePass="test123"/>

    </Connector>

    <Engine defaultHost="localhost" name="Catalina">

      <Host appBase="webapps" name="localhost">

        <Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_log." suffix=".txt" timestamp="true"/>

      </Host>

      <Host name="kunde3">

      </Host>

      <Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt" timestamp="true"/>

      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>

    </Engine>

  </Service>

</Server>



Have anybody i idea for me ??





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




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


Mime
View raw message