Disabling the HTTP port
If you want to require all components to communicate through the more secure HTTPS protocol, you must disable the HTTP port.
Before you begin
You must have enabled HTTPS connections for components.
To disable the HTTP port
- On the CDP server, use a text editor to open the AO_HOME\tomcat\conf\server.xml file.
Find the line containing the HTTP protocol information. It will contain text similar to the following line:
<Connector connectionTimeout="20000" port=8080 protocol="HTTP/1.1" redirectPort="8443"/>
- Change the line to a comment by adding <!-- at the beginning of the line and --> at the end.
- Save and close the AO_HOME\tomcat\conf\server.xml file.
- Start the server.
If you did not set the repository and Operator Control Panel to use HTTPS, modify the links in their respective AO_HOME\tomcat\conf\context.xml files to point to the proper URLs; change http to https and 8080 to 8443 where appropriate.
If the repository and Operator Control Panel are installed on different servers, repeat the procedure with each tomcat instance.
Any subsequent attempt to access http://hostname:8080/baocdp or http://hostname:8080/baoam will result in a connection failure or a Page Not Found error.Note
All web service traffic uses this HTTP port. By disabling this port, you will break any web services you may have setup with . You must recreate the web services.
Comments
Log in or register to comment.