[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: keytool and Tomcat https under 1.4.1
From: Westbay Family <westbay () seaple ! icc ! ne ! jp>
Date: 2003-03-21 2:12:35
[Download RAW message or body]
List,
I was excited to hear that the JDK 1.4.1 was working well with Tomcat
and decided to give it a try. I had no problem building JDK 1.4.1
(after unsetting the LANG variables).
However, when trying to get Tomcat to run with the HTTPS connector,
I've run into nothing but trouble.
First of all, running
% keytool -keygen -alias tomcat -keyalg RSA
prompts for all the right questions then, when it should be making the
.keystore, just spins its wheels at 0.00% CPU usage until the process
is killed.
Second, after creating a server.keystore with JDK 1.3.1 or on Mac OSX's
JDK 1.4.1 (tried keystores generated from both) and modifying
conf/server.xml like so:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory
className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS"
keystoreFile="conf/server.keystore"
keystorePass="changeit"/>
</Connector>
Neither 8080 (8180 for versions installed from ports) nor 8443 are
accessible. There are not warnings or exceptions thrown in logs/* to
indicate what is wrong. (Although if I enter keystorePass to something
invalid, I do get exceptions telling me so.)
Has anyone else gotten Tomcat https to work with the native JDK 1.4.1?
---
Michael Westbay
Work: Beacon-IT http://www.beacon-it.co.jp/
Home: http://www1.seaple.icc.ne.jp/westbay
Commentary: http://www.japanesebaseball.com/forum/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic