Re: Configuration Problem in Tomcat for HTTPS
Sanjeev, How can i set the path for the keystore in server.xml? --- Sanjeev Srivastava [EMAIL PROTECTED] wrote: Hi Dushyanth, Have you created server.keystore, also are you specifing the right path in server.xml for the server.keystore. Check this, your problem will be solved. In case of any problem, do let me know... Cheers!, Sanjeev --- suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not getting any errors in logs. --- Antony Paul [EMAIL PROTECTED] wrote: If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] === message truncated === __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
Dushyanth! Have you created server.keystore using keytool..? In server.xml check the code below and provide the path to KeystoreFile and put the password. keystoreFile=/cm/de/cfg/server.keystore keystorePass=changeit Make sure the 443 or 8443 should be same in port 80 and port 8443 Connector className=org.apache.catalina.connector.http.HttpConnector port=443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory keystoreFile=/cm/de/cfg/server.keystore keystorePass=changeit clientAuth=false protocol=TLS/ /Connector Cheers! Sanjeev --- suryadevara dushyanth [EMAIL PROTECTED] wrote: Sanjeev, How can i set the path for the keystore in server.xml? --- Sanjeev Srivastava [EMAIL PROTECTED] wrote: Hi Dushyanth, Have you created server.keystore, also are you specifing the right path in server.xml for the server.keystore. Check this, your problem will be solved. In case of any problem, do let me know... Cheers!, Sanjeev --- suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not getting any errors in logs. --- Antony Paul [EMAIL PROTECTED] wrote: If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ === message truncated === Send instant messages to your online friends http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: Configuration Problem in Tomcat for HTTPS
I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
No I am not getting any errors in logs. --- Antony Paul [EMAIL PROTECTED] wrote: If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
On Mon, 14 Mar 2005 12:04:55 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not getting any errors in logs. Where exactly is your .keystore? You are best putting it somewhere simple and then referencing it with the parameter keystoreFile in the connector for the SSL. As a previous poster stated the default place for the .keystore to be created and looked for by tomcat is in a user's home directory so say for example if you were running it as a service under LocalSystem (something you shouldn't do for security reasons) then LocalSystem wouldn't find the .keystore. Following those tutorials has always worked first go for me so carefully step through what is written there and see if you forgot something. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
Hi Dushyanth, Have you created server.keystore, also are you specifing the right path in server.xml for the server.keystore. Check this, your problem will be solved. In case of any problem, do let me know... Cheers!, Sanjeev --- suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not getting any errors in logs. --- Antony Paul [EMAIL PROTECTED] wrote: If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed in https:/Localhost:8443 which should give me the same tomcat home page but it says page cannot be displayed. Thanks Dushyanth --- Bill Barker [EMAIL PROTECTED] wrote: Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Send instant messages to your online friends http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuration Problem in Tomcat for HTTPS
Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuration Problem in Tomcat for HTTPS
Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of messages. suryadevara dushyanth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url https://localhost:8443; I am getting page not available. Tomcat 4.1.29 I followed the process and modified the server.xml file by uncommenting the 8443 port. When i start my tomcat server it is shutting down and it does not start. I tried it through Tomcat Admin page but it says resource requested not available. Please help me out as I have to host my application in Tomcat using HTTPS port. And I am under a tight deadline for hosting this application. Thanks Regards Dushyanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]