Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 52587 invoked from network); 17 Jan 2005 15:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jan 2005 15:59:04 -0000 Received: (qmail 10663 invoked by uid 500); 17 Jan 2005 15:58:25 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 10636 invoked by uid 500); 17 Jan 2005 15:58:25 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 10618 invoked by uid 99); 17 Jan 2005 15:58:25 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 11-169-185-213.customer.coltnet.at (HELO vibu11.vibu.net) (213.185.169.11) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 17 Jan 2005 07:58:24 -0800 Received: from thinkpad1.metamagix.net (chello080108234171.1.14.vie.surfer.at [80.108.234.171]) (authenticated) by vibu11.vibu.net (8.11.6/8.11.6) with ESMTP id j0HF0Hi04097 for ; Mon, 17 Jan 2005 16:00:18 +0100 Message-Id: <6.1.2.0.0.20050117165639.0403ad70@mails.metamagix.net> X-Sender: rk@mails.metamagix.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Mon, 17 Jan 2005 16:58:16 +0100 To: "Tomcat Users List" From: rk@metamagix.net Subject: Re: multiple ips, multiple ssl certificates and port forwarding In-Reply-To: <00aa01c4fcaa$2bcbe880$8101a8c0@ptslaptop> References: <6.1.2.0.0.20050117154716.04032180@mails.metamagix.net> <00aa01c4fcaa$2bcbe880$8101a8c0@ptslaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N unfortunately this does not seem to solve the problem ... but results in the following error (as the given keystore cannot be used) Jan 17, 2005 4:59:29 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-62.116.64.7-8080 Jan 17, 2005 4:59:29 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.FileNotFoundException: /home/essence/.keystore (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:276) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:220) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:143) at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:109) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:98) at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:261) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137) at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1238) at org.apache.catalina.core.StandardService.initialize(StandardService.java:532) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2199) at org.apache.catalina.startup.Catalina.start(Catalina.java:462) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) Catalina.start: LifecycleException: Protocol handler initialization failed: java.io.FileNotFoundException: /home/essence/.ke ystore (No such file or directory) LifecycleException: Protocol handler initialization failed: java.io.FileNotFoundException: /home/essence/.keystore (No such file or directory) at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1240) at org.apache.catalina.core.StandardService.initialize(StandardService.java:532) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2199) at org.apache.catalina.startup.Catalina.start(Catalina.java:462) at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started At 16:35 17.01.2005, you wrote: >I think you have an error in your server.xml. The path to the keystore and >other SSL fields are in the Factory element instead of the connector element. > >> >> > port="8443" minProcessors="5" maxProcessors="30" >> address="100.100.100.3" >> enableLookups="true" >> acceptCount="30" debug="0" scheme="https" secure="true" >> useURIValidationHack="false" disableUploadTimeout="true"> >> > className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory" >> keystoreFile="/home/essence/essence/KEYS/c.keystore" >> keystorePass="xxx" >> clientAuth="false" protocol="TLS" /> >> > > >Should read: > >> >> > port="8443" minProcessors="5" maxProcessors="30" >> address="100.100.100.3" >> enableLookups="true" >> acceptCount="30" debug="0" scheme="https" secure="true" >> useURIValidationHack="false" disableUploadTimeout="true"> >> keystoreFile="/home/essence/essence/KEYS/c.keystore" >> keystorePass="xxx" >> clientAuth="false" protocol="TLS" > className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"/> >> > > >Doug > > >--------------------------------------------------------------------- >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