hi all,
I am trying to install certificate on tomcat3.2.3 to enable it for SSL, =
but start-up is giving exception : filenotfound, i am using win98, i =
generated keystore file using keytool as per documentation, i =
transferred (.keystore) file at the root of my tomcat home.
below is the stacktrace i get by start-up
java.io.FileNotFoundException: firstecom (The system cannot find the file
specified)
java.io.FileNotFoundException: firstecom (The system cannot find the file
specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:64)
at
org.apache.tomcat.net.SSLSocketFactory.initKeyStore(SSLSocketFactory.java:22
0)
at
org.apache.tomcat.net.SSLSocketFactory.initProxy(SSLSocketFactory.java:160)
at
org.apache.tomcat.net.SSLSocketFactory.createSocket(SSLSocketFactory.java:11
8)
at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:239)
at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
my directory structure is=20
c:\tomcat\......
Can anyone tell me where should i place my (.keystore) file? Right now =
it's in c:\tomcat\(.keystore) , and c:\tomcat\config\(.keystore) and =
c:\windows\(.keystore).=20
following is the <connector> element which i enabled for ssl support
<Connector className=3D"org.apache.tomcat.service.PoolTcpConnector">
<Parameter name3D"handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="8443"/>
<Parameter name="socketFactory"
value="org.apache.tomcat.net.SSLSocketFactory" />
<Parameter name="keystore" value="tomcat" />
<Parameter name="keypass" value="changeit"/>
<!-- <Parameter name="keystoreFile" value=".keystore" /> -->
</Connector>
thanks in advance,
regards
asheesh