cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1028
Views
0
Helpful
0
Comments
Orf Gelbrich
Cisco Employee
Cisco Employee

In order to re-direct HTTP to HTTPS in UCSD please edit the flowing 2 files:

  1. 1. Edit file: /opt/infra/web_cloudmgr/apache-tomcat/conf/server.xml

o   Update redirectPort to “443” (Highlighted below)

                <Connector port="80" protocol="HTTP/1.1"

                                connectionTimeout="20000"

               redirectPort="443" maxHttpHeaderSize="65536"/>

  1. Edit file: /opt/infra/web_cloudmgr/apache-tomcat/conf/web.xml

o   Add following lines (anywhere in the file)

                <security-constraint>

                  <web-resource-collection>

                <web-resource-name>HTTPSOnly</web-resource-name>

                <url-pattern>/*</url-pattern>

                </web-resource-collection>

                <user-data-constraint>

                <transport-guarantee>CONFIDENTIAL</transport-guarantee>

                 </user-data-constraint>

     </security-constraint>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links