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 SSL Problem need Help!
Date Thu, 29 Jul 2004 09:31:41 GMT
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


Mime
View raw message