Establishing Server Connection for HTTPS
Perform the following procedure to establish server connection for HTTPS.
- 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="TLS" />
-
Enter the password used for creating certificates under the attribute
<password for certificate>. - Save and close the server.xml file.
- Open the struts-config.xml file. For Tomcat, you can find the struts-config.xml file in the \I4V\WEB-INF subfolder of your Tomcat installation directory.
- Locate the following section: <controller> <set-property property="nocache" value="false"/> <set-property property="locale" value="true"/> </controller>
- If the value of the nocache attribute is true, set it to false.
- Save and close the struts-config.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.
user name - LQNT/<username>
- 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.
<machinename>is the IP address of the host machine. - Enter the user credentials.
Previous topic: Creating .keystore
Next topic: Client Configurations