Line 2: |
|
|
|
|
|
|
|
|
- |
:1. Navigate to the %SERVER_HOME%\opt\tomcat\conf
|
+ |
:1. Navigate to the ''%SERVER_HOME%\opt\tomcat\conf''
|
|
|
|
|
- |
::*Notice the server.xml file, server-http.xml and server-https.xml
|
+ |
::*Notice the ''server.xml'' file, ''server-http.xml'' and ''server-https.xml''
|
- |
::*If you open any of these, you will see they get their values from "conf\server\installed.properties"... example: Connector port="${install.server.web.port}address="${install.server.web.ip}"
|
+ |
::*If you open any of these, you will see they get their values from '''conf\server\installed.properties'''... example: ''Connector port='''''"${install.server.web.port}'''''address='''''"${install.server.web.ip}"'''
|
- |
:2. Do a diff of the server-http.xml and server.xml (they should be the same, if not not stop or make a copy of server.xml first or stop doing this)
|
+ |
:2. Do a diff of the ''server-http.xml'' and ''server.xml'' (they should be the same, if not not stop or make a copy of ''server.xml'' first or stop doing this)
|
- |
:3. Copy server-http.xml to server.xml
|
+ |
:3. Copy '''server-http.xml''' to '''server.xml'''
|
- |
:4. Navigate to the %SERVER_HOME%\conf\server directory and edit the installed.properties file
|
+ |
:4. Navigate to the ''%SERVER_HOME%\conf\server'' directory and edit the ''installed.properties'' file
|
- |
::*Change this line: install.server.web.always.secure=N to install.server.web.always.secure=Y
|
+ |
::*Change this line: '''install.server.web.always.secure=N''' to '''install.server.web.always.secure=Y'''
|
- |
::*Add this line: install.server.web.https.port=8443
|
+ |
::*Add this line: '''install.server.web.https.port=8443'''
|
- |
::*Verify this line exists, if not add it: install.server.web.https.protocol=TLS
|
+ |
::*Verify this line exists, if not add it: '''install.server.web.https.protocol=TLS'''
|
- |
:5. Navigate to the %SERVER_HOME%\opt\tomcat\webapps\ROOT\WEB-INF directory
|
+ |
:5. Navigate to the ''%SERVER_HOME%\opt\tomcat\webapps\ROOT\WEB-INF'' directory
|
- |
:6. Edit the web.xml file by uncommenting
|
+ |
:6. Edit the '''web.xml''' file by uncommenting
|
|
::<pre> <!--@@SECURE_START@@ and @@SECURE_END@@ --> </pre> to look like below: |
|
::<pre> <!--@@SECURE_START@@ and @@SECURE_END@@ --> </pre> to look like below: |
|
::<pre> <!-- @@SECURE_START@@ --> |
|
::<pre> <!-- @@SECURE_START@@ --> |