hi
i m new in OpenSource i have two questions
1. Can any one tell me if i m running my JSP page using Tomcat5 as web server and want to configure SSL on Tomcat5 is that necessary to install Apache2.
2. i properly generate keystore
keytool -genkey -alias tomcat -keyalg RSA \
-keystore <your_keystore_filename>
then generate CSR
keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr \
-keystore <your_keystore_filename>
ok the detail i enter while generate CSR is
YourName : localhost
rest of the option of generating CSR i m not mention here and send to certificate authority. Certificate authority send me 5 files
which i properly install by using following command
keytool -import -trustcacerts -alias root -file AddTrustExternalCARoot.crt -keystore mykeystore.key
keytool -import -trustcacerts -alias addtrust -file UTNAddTrustServerCA.crt -keystore mykeystore.key
keytool -import -trustcacerts -alias ComodoUTNServerCA -file ComodoUTNServerCA.crt -keystore mykeystore
keytool -import -trustcacerts -alias EssentialSSLCA -file EssentialSSLCA.crt -keystore mykeystore
keytool -import -trustcacerts -alias tomcat -file localhost.crt -keystore mykeystore
if there is any mistake in above please correct me. Then amendments in my server.xml which reside tomcat55/bin/conf/
<-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector
port="443" minProcessors="5" maxProcessors="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true";
clientAuth="false" sslProtocol="TLS" keystorefile-"$JAVA_HOME/bin/mykeystore.key" keypass="123456"/>
-->
after that i restart my tomcat and try to access
https://locahost:8443/ i got following error
Unable to connect
Firefox can't establish a connection to the server at localhost:8443.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web
Appreciation in advance