>From a quick look at the code, it seems that Tomcat looks for 'keys/.keystore' relative to the directory that Tomcat was started from.
"Richard S. Huntrods" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings! > > I was usingthe "keystoreFile" tag successfully with Tomcat 4.1.27. > However the same tag does not work as expected with Tomcat 5.0.16. > Here's the SSL connector code from server.xml: > > <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> > <Connector port="443" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" debug="0" scheme="https" secure="true" > keystoreFile="keys/.keystore" keystorePass="password" > clientAuth="false" sslProtocol="TLS" /> > > The file ".keystore" is stored in a directory "keys" located off > $TOMCAT_ROOT$ - i.e. C:\jakarta-tomcat-5.0.16\keys\.keystore". > > For Tomcat 4.1.27 this location worked with the keystoreFile tag shown > above. Now with 5.0.16, I get the error "FileNotFoundException". > > If I remove the "keystoreFile" tag, then 5.0.16 looks for the .keystore > file in "C:\Documents and Settings\Richard\.keystore". If I put > .keystore there, 5.0.16 works perfectly. > > So my question is - How does Tomcat 5.0.16 parse the "keystoreFile" tag? > Where is Tomcat 5.0.16 expecting to find a file called "keys/.keystore"? > > Thanks in advance, > > -Richard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
