Try: keystore="/usr/cert/.keystore"
and see if that works. Its hard to tell from the error output if this is the only problem. Hopefully, it is. Cheers, Larry > -----Original Message----- > From: IS400 ABB [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 9:47 AM > To: [EMAIL PROTECTED] > Subject: keystore not found in tomcat-3.3.1-dev > > > I'm running Tomcat-jakarta-3.3.1-dev with SSL. > Problem: How to get SSL working when I specify the keystore path in > server.xml? > > I have created a keystore file (.keystore) with the following command: > keytool -genkey -alias tomcat -keyalg RSA -keystore > /usr/cert/.keystore > > In server.xml i then setup the following connector: > <Http10Connector port="443" > secure="true" > keystore="/usr/cert" > keypass="changeit" > clientAuth="false" > maxThreads="100" > maxSpareThreads="50" > minSpareThreads="10" /> > > The error of starting Tomcat can be seen below! > It works fine when I create a .keystore file in the root > directory (current > user home dir)! > > Output from starting Tomcat: > Using classpath: > /usr/local/jakarta-tomcat-3.3.1-dev/bin/../lib/tomcat.jar > Using JAVA_HOME: /usr/opt/java131 > Using TOMCAT_HOME: /usr/local/jakarta-tomcat-3.3.1-dev > ragge# 2002-04-15 12:37:59 - ServerXmlReader: > Config=$TOMCAT_HOME/conf/server.xml > 2002-04-15 12:37:59 - PathSetter: > home=/usr/local/jakarta-tomcat-3.3.1-dev > 2002-04-15 12:38:00 - ContextXmlReader: Context > config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml > 2002-04-15 12:38:00 - ContextXmlReader: Context > config=$TOMCAT_HOME/conf/apps-admin.xml > 2002-04-15 12:38:00 - ContextXmlReader: Context > config=$TOMCAT_HOME/conf/apps-examples.xml > 2002-04-15 12:38:00 - ContextXmlReader: Context > config=$TOMCAT_HOME/conf/apps-is400.xml > 2002-04-15 12:38:00 - AutoWebApp: Loaded from config: DEFAULT:/admin > 2002-04-15 12:38:00 - AutoWebApp: Auto-Adding DEFAULT:/ > 2002-04-15 12:38:00 - AutoWebApp: Loaded from config: > DEFAULT:/examples > 2002-04-15 12:38:00 - ContextManager: Tomcat configured and > in stable state > 2002-04-15 12:38:01 - ContextManager: Adding DEFAULT:/admin > 2002-04-15 12:38:01 - ContextManager: Adding DEFAULT:/examples > 2002-04-15 12:38:01 - ContextManager: Adding DEFAULT:/admin > 2002-04-15 12:38:01 - ContextManager: Adding DEFAULT:/ROOT > EmbededTomcat: Init time 8591 > 2002-04-15 12:38:03 - Http10Interceptor: Starting on 80 > Guessed home=/usr/local/jakarta-tomcat-3.3.1-dev > java.lang.reflect.InvocationTargetException: > org.apache.tomcat.core.TomcatException: Root cause - > //.keystore (No such file or directory) > at > org.apache.tomcat.modules.server.PoolTcpConnector.engineStart (pc > 102) > at org.apache.tomcat.core.ContextManager.start > (pc 37) > at org.apache.tomcat.startup.EmbededTomcat.start > (pc 29) > at org.apache.tomcat.startup.EmbededTomcat.execute1 > (pc 72) > at org.apache.tomcat.startup.EmbededTomcat$1.run > (pc 4) > at > org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run > (pc 4) > at > java.security.AccessController.doPrivileged(java.security.Priv > ilegedExceptionAction,jav > a.security.AccessControlContext) (AccessController.java) > at > org.apache.tomcat.util.compat.Jdk12Support.doPrivileged (pc 52) > at org.apache.tomcat.startup.EmbededTomcat.execute > (pc 20) > at java.lang.reflect.Method.invoke (Method.java) > at org.apache.tomcat.util.IntrospectionUtils.execute > (pc 58) > at org.apache.tomcat.startup.Main.execute > (pc 138) > at org.apache.tomcat.startup.Main.main > (pc 14) > > > Thank you in advance for any comments! > /Per > > > _________________________________________________________________ > Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se/intl.asp > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>