I am trying to set up SSL for stand alone tomcat(3.2.4) and I am using jdk1.2.2 (solaris). I have installed jsse and created keystores like this
genkey -alias tomcat-sv -keyalg RSA -keypass changeit -storepass changeit -keystore server.keystore
keytool -export -alias tomcat-sv -storepass changeit -file server.cer -keystore server.keystore
keytool -genkey -alias tomcat-cl -keyalg RSA -keypass changeit -storepass changeit -keystore client.keystore
keytool -export -alias tomcat-cl -storepass changeit -file client.cer -keystore client.keystore
keytool -import -v -trustcacerts -alias tomcat -file server.cer -keystore client.keystore -keypass changeit - storepass changeit
keytool -import -v -trustcacerts -alias tomcat -file client.cer -keystore server.keystore -keypass changeit -storepass changeit
and I changed server.xml of tomcat like
<Parameter name="keystore"
value="/user/path/server.keystore" /> <Parameter name="keypass" value="changeit"/>
and restarted tomcat
when I tried to access tomcat from the browser giving
The browser is giving "the page cannot be displayed" error and at the console the error msg is
<b>"2003-06-03 12:48:20 - Ctx( ): 400 R( /) null 2003-06-03 12:48:20 - Ctx( ): IOException in: R( /) Socket closed" </b>
what could be the problem??? pls help
binny
genkey -alias tomcat-sv -keyalg RSA -keypass changeit -storepass changeit -keystore server.keystore
keytool -export -alias tomcat-sv -storepass changeit -file server.cer -keystore server.keystore
keytool -genkey -alias tomcat-cl -keyalg RSA -keypass changeit -storepass changeit -keystore client.keystore
keytool -export -alias tomcat-cl -storepass changeit -file client.cer -keystore client.keystore
keytool -import -v -trustcacerts -alias tomcat -file server.cer -keystore client.keystore -keypass changeit - storepass changeit
keytool -import -v -trustcacerts -alias tomcat -file client.cer -keystore server.keystore -keypass changeit -storepass changeit
and I changed server.xml of tomcat like
<Parameter name="keystore"
value="/user/path/server.keystore" /> <Parameter name="keypass" value="changeit"/>
and restarted tomcat
when I tried to access tomcat from the browser giving
The browser is giving "the page cannot be displayed" error and at the console the error msg is
<b>"2003-06-03 12:48:20 - Ctx( ): 400 R( /) null 2003-06-03 12:48:20 - Ctx( ): IOException in: R( /) Socket closed" </b>
what could be the problem??? pls help
binny