Establish Server Connection for HTTPS
Configure Hypertext Transfer Protocol Secure (HTTPS) for secure network communication with Viewing.
-
Open the
server.xml file in a text or XML editor.
The server.xml file is found in the drive where Tomcat is installed. Typically it is found in the location: C:\Program Files (x86)\Apache Software Foundation\Tomcat x.0\conf\server.xml
-
In the
server.xml file, enter the following lines under the section
<service name =”Catalina”>: <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false"keystorePass="<password for certificate>" sslProtocol="TLSv1.2" /> -
Enter the password used for creating certificates under the attribute
<password for certificate>. - Save and close the server.xml file.
-
Start the Apache Tomcat
Properties window.
To open the Apache Tomcat Properties window, right-click the tomcat <version>W.exe, where <version> indicates the version of Apache Tomcat, and select Open.
- Select the Log on tab in Apache Tomcat Properties window.
- Select This Account and enter windows user domain account and password.
- Click Apply and click OK.
- Start Apache Tomcat services.
-
To verify the functioning of HTTPS in the client machine, enter the URL
https://<machinename>:8443/I4V in the browser.
Where <machinename> is the IP address of the host machine.
- Enter the user credentials.