Mark Thomas schrieb:
Alexander 'boesi' Bösecke wrote:
When I restore the .keystore with the self signed certificate it works
again. So what am I missing or doing wrong?
You log file shows you are using the APR/native connector. That won't work
with JKS. See http://tomcat.apache.org/tomcat-6.0-doc/apr.html
So I either have to delete the tcnative-1.dll from my Tomcat directory
or change the connector in my sever.xml to
<Connector port="443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
SSLCertificateFile="Path/to/the/certificate text file"
SSLCertificateKeyFile="Path/to/the/privateKey text file"/>
?
But unfortunately neither of them work.
I've attached 2 log files, one for the case "Deleting the native dll and
using the keystore" and one for "using OpenSSL with the native dll". In
both cases the result is the same as before.
In the 2nd case I used the original files I got from my provider. Should
I be worried that I don't have a pass phrase for the private key?
Also, http://www.geotrust.com/resources/install/jakarta_tomcat.htm is very,
very out of date.
Well maybe somebody should tell them someday ;)
cu boesi
21.10.2008 13:49:32 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'minSpareThreads' to '25' did not find a matching property.
21.10.2008 13:49:32 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxSpareThreads' to '75' did not find a matching property.
21.10.2008 13:49:32 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
21.10.2008 13:49:32 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false],
random [true].
21.10.2008 13:49:32 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
21.10.2008 13:49:32 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
21.10.2008 13:49:32 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
21.10.2008 13:49:32 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1242 ms
21.10.2008 13:49:33 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.10.2008 13:49:33 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
21.10.2008 13:49:33 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
21.10.2008 13:49:33 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
21.10.2008 13:49:33 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-80
21.10.2008 13:49:33 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-443
21.10.2008 13:49:33 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
21.10.2008 13:49:33 org.apache.catalina.startup.Catalina start
INFO: Server startup in 867 ms
21.10.2008 14:15:00 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
C:\tools\Tomcat
6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\tools\miktex\miktex\bin;C:\Program
Files\Borland\Delphi7\Bin;C:\Program
Files\Borland\Delphi7\Projects\Bpl\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\tools\java\jdk6\bin;C:\tools\gtk2.0\bin;C:\Program
Files\CodeMeter\DevKit\bin;C:\Windows\system32\WindowsPowerShell\v1.0\;C:\Program
Files\CodeMeter\DevKit\bin\;C:\tools\TortoiseSVN\bin
21.10.2008 14:15:00 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
21.10.2008 14:15:01 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
21.10.2008 14:15:01 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-443
21.10.2008 14:15:01 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 687 ms
21.10.2008 14:15:01 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.10.2008 14:15:01 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
21.10.2008 14:15:01 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
21.10.2008 14:15:01 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
21.10.2008 14:15:01 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
21.10.2008 14:15:01 org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-443
21.10.2008 14:15:01 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
21.10.2008 14:15:01 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19 config=null
21.10.2008 14:15:01 org.apache.catalina.startup.Catalina start
INFO: Server startup in 885 ms
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]