If you are still looking for a solution:
There is a mismatch in your informations: you wrote, the keystore file would be located in your home directory but in the connector properties the keystore is referenced to be located at /user/machine/.keystore: are you aware of this difference?

Johann

----- Original Message ----- From: "Tami Corn" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Saturday, January 05, 2008 3:10 PM
Subject: tomcat 5.0.28 and SSL setup


My problem:  Port 8443 won't open.  But I can see port 8080.

Running Tomcat 5.0.28 on Mac OS 10.4.11 (no firewall yet).

I'm not using a self-assigned cert. I created a CSR request, got my certs and have imported my certs in the following order using Terminal. Everything I have researched says they have to be installed in a particular order or the will not work.:

root - AddTrustExternalCARoot.crt
inter - UTNAddTrustServer_CA.crt
chain - NetworkSolutions_CA.crt
tomcat - mydomain.com.crt

(My keystore is located my user's home directory along with a folder that has the certs in it.)

If I printcerts in Terminal, they look good to me compared to documentation and examples online. (however....I'm a newbie.)

I have uncommented the connector port in the server.xml config.

    <Connector port="8443"
               maxThreads="100" minSpareThreads="5"  maxSpareThreads="25"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" debug="0" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keyAlias="tomcat" keystoreFile="/Users/machine/.keystore" keystorePass="..." />

Tomcat Log shows:

2008-01-05 07:25:56 StandardContext[/servlets-examples] ContextListener: attributeReplaced ('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@8e7b84') 2008-01-05 07:25:56 StandardContext[/servlets-examples] ContextListener: attributeReplaced ('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@4f53eb') 2008-01-05 07:25:56 StandardContext[/servlets-examples] ContextListener: attributeReplaced ('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@e6b82') 2008-01-05 07:25:56 StandardContext[/servlets-examples] SessionListener: contextDestroyed() 2008-01-05 07:25:56 StandardContext[/servlets-examples] ContextListener: contextDestroyed() 2008-01-05 07:25:56 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@8e45a8') 2008-01-05 07:25:56 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@7f3202') 2008-01-05 07:25:56 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@ac5c8b') 2008-01-05 07:25:56 StandardContext[/jsp-examples]SessionListener: contextDestroyed() 2008-01-05 07:25:56 StandardContext[/jsp-examples]ContextListener: contextDestroyed() 2008-01-05 07:29:44 StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at org.apache.webapp.balancer.RulesParser.createDigester (RulesParser.java:65)
at org.apache.webapp.balancer.RulesParser.<init>(RulesParser.java:43)
at org.apache.webapp.balancer.BalancerFilter.init (BalancerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java:225) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java:308) at org.apache.catalina.core.ApplicationFilterConfig.<init> (ApplicationFilterConfig.java:79) at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java:3698) at org.apache.catalina.core.StandardContext.start (StandardContext.java:4349) at org.apache.catalina.core.ContainerBase.addChildInternal (ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java: 595)
at org.apache.catalina.core.StandardHostDeployer.install (StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories (HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java: 432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java: 478)
at org.apache.catalina.core.StandardService.start (StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java: 2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

2008-01-05 07:29:44 StandardContext[/jsp-examples]ContextListener: contextInitialized() 2008-01-05 07:29:44 StandardContext[/jsp-examples]SessionListener: contextInitialized() 2008-01-05 07:29:44 StandardContext[/servlets-examples] ContextListener: contextInitialized() 2008-01-05 07:29:44 StandardContext[/servlets-examples] SessionListener: contextInitialized()


Any thoughts or suggestions on what I am missing to make 8443 open up are very much appreciated.

Tami



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to