You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Billy Ng <kw...@earthlink.net> on 2005/04/05 08:47:23 UTC

Programmatically to turn on SSL

Would anybody please tell me if I could programmatically to change the 
web.xml

  <security-constraint>
     <web-resource-collection>
         <web-resource-name>Tomcat</web-resource-name>
         <url-pattern>/*</url-pattern>
     </web-resource-collection>
     <user-data-constraint>
         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
     </user-data-constraint>
  </security-constraint>

and server.xml

<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>

to make tomcat to use SSL?  Thanks!


Billy Ng 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org