Hello,
I'm trying to set up SSL using
tomcat 5.5.12.Given that I'm using
Java 5.0 (JDK&JRE 1.5.06) I haven't bothered with JSSE (Java Secure Sockets
Extension), since it's supposed to be included in the JRE as of version 5.0.
Using keytool I have created a keystore for localhost with the password "changeit" and I have uncommented the SSL Connector in the server.xml file, leaving the SSL port to 8443.
When I try to access
https://localhost:8443, i get "Page not found screen".
I could not get any help from the Tomcat logs.
I checked this command "netstart -an" in command prompt ,port 8443 was not listed.
In the how_to which i downloaded from apache site ,says that the follwing should be present in server.xml file
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory"
clientAuth="false" protocol="TLS"/>
</Connector>
But our server.xml file has only the following,
<Connector port="8443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
The factory tag is missing,if it should be added,please let me know in which tomcat folder i should add "org.apache.catalina.SSLServerSocketFactory' jar file.
Log file doesn't show any error
Is there something I am missing? Could someone suggest a solution?
Thanks