| Author |
accessing application using ONLY https and not http
|
Sachin Joshi
Ranch Hand
Joined: Mar 23, 2004
Posts: 43
|
|
Hi, I want to access my web Application using ONLY https on tomcat 4.1.29. i.e. access using http should not be possible. For this, I have created a short application. As per the tomcat doc guidelines, I tried to install JSSE and access https://localhost:8443/<mysiteName>. Now, I can get the certificate when I access my site using https. So, to make it accessible using ONLY http, I have commented <Connector > element for non-SSL setup in server.xml file. i.e. <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> <!-- <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /> --> Now, I am able to access my application using only https and not http. BUT, my question is, is that the only way to achieve only https access ? has anybody tried better approach than this ? Please share. Thanks, Sachin
|
 |
 |
|
|
subject: accessing application using ONLY https and not http
|
|
|