-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nikita,
On 2/19/2010 1:11 AM, Nikita Manohar wrote: > My web application is currently deployed on Tomcat 6. Currently it is > running on http. > > I was asked to run it on HTTPS. I was able to run in on HTTPS and for that I > need to make changes in server.xml everytime iIf have to run my web app on > https. Switching/Toggling between Https and Https requires me to restart > tomcat everytime after changes in server.xml. > > Is it possible to change from http to https at runtime i.e without > re-starting tomcat. Is there any way to access the connector using some > code? If you use one <Connector> for HTTP and another for HTTPS, you can have them running both at once and the client can choose to use either, and access any webapp. As Chuck points out, each web application can specify, in web.xml, that the connections must be CONFIDENTIAL or INTEGRAL, which will force clients to connect using HTTPS instead of HTTP. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt+sQAACgkQ9CaO5/Lv0PCq1gCgtJeXl0o5f5B+VBPJ0H7h0i4h 2Q0AnjyAUNeXSMHkLAS1F+V6JoX1yuhT =E1+j -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org