http://localhost worked before and still works.

I also checked the firewall settings.  It definitely isn't a problem here - I 
even tried setting up a different connector http://localhost:8443 (not https) 
and this worked - so I'm 100% sure its not a firewall issue.

Any other ideas?

b.t.w. Thanks

Martin

Zhan, Jimmy wrote:
Hi,

  If you connect to http://localhost while https://localhost:8443, what
happen? Make sure http://localhost works first.

Jimmy

Cash America

-----Original Message-----
From: Martin Cavanagh [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 4:23 PM
To: Tomcat Users List
Subject: Tomcat HTTPS Help needed

Hi everyone.

I'm quite embarrassed - but inspite following the Apache guide, I just can't set up HTTPS via Tomcat!

I have Windows 2000 Professional (German).  Tomcat 5.5.20.  Running Java

1.5.

Can anyone here tell me what I'm doing wrong?

I tried the keystore in my user directory - but that doesn't seem to work (because Tomcat is running as local system - a different account?). I even tried copy the .keystore file into every directory - but no luck. So I moved the .keystore to C:\.keystore

"C:\>keytool -list -keystore c:\.keystore
Geben Sie das Keystore-Passwort ein:

Keystore-Typ: JKS
Keystore-Provider: SUN

Ihr Keystore enthlt 2 Eintrge.

consense, 04.05.2006, PrivateKeyEntry,
Zertifikatsfingerabdruck (MD5): 4E:A5:87:1F:61:62:B2:72:48:C2:31:0D:EF:51:42:3C
tomcat, 28.03.2007, PrivateKeyEntry,
Zertifikatsfingerabdruck (MD5): 2C:99:4C:D5:6F:94:BE:BE:EA:42:FF:9C:11:F1:A7:67"

my keystore has two signatures with the password "changeit".

In the server.xml I have the following connector. (the default, uncommented, with the keystoreFile/keypass as parameters - keypass is not required....).

<Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
          keystoreFile="C:\.keystore"
         keypass="changeit"  />

Whenever I try to visit the following website with HTTP/HTTPS I get no response. It takes ages, so I'm sure Tomcat is thinking about doing something, just not doing anything. I've also tried from external computers - still no success.

https://localhost:8443/

The logs don't seem to show anything interesting
e.g. catalina -
28.03.2007 18:14:51 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
28.03.2007 18:14:51 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
28.03.2007 18:14:51 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
28.03.2007 18:14:51 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1656 ms
28.03.2007 18:14:51 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
28.03.2007 18:14:51 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
28.03.2007 18:14:51 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
28.03.2007 18:14:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive soap.war
28.03.2007 18:14:55 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-80
28.03.2007 18:14:55 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
28.03.2007 18:14:55 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
28.03.2007 18:14:55 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28.03.2007 18:14:55 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3922 ms

similary the localhost log looks boring:
28.03.2007 18:14:54 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]

All other logs are empty.

Can anyone tell me what silly mistake I've made?

Thanks a lot.

Martin

---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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