How to change the Test Data Manager portal port from 8080 to 8443 and from HTTP to HTTPS

Document ID : KB000126279
Last Modified Date : 06/02/2019
Show Technical Document Details
Introduction:
By default during installation the Portal port is 8443 and protocol is HTTPS.
If this option was changed during installation and the portal was running on 8080, then below steps can be followed to move Portal from 8080 to 8443 and from HTTP to HTTPS.
Environment:
CA Test Data Manager Portal 4.x
Instructions:
The default ports for TDM Portal are 8080 for HTTP and 8443 for HTTPS. This configuration not only changes the port that TDM Portal listens on, but changes the protocol from HTTP to HTTPS. 

Please follow below steps: 
- Stop the CA Test Data Manager Portal service 
- Stop the OrientDB service 
- Go to C:\Program Files\CA\CA Test Data Manager Portal\conf 
- Make a backup copy of the application.properties file 
- Open the application.properties file in a text editor Notepad (or Notepad++, etc) 
- Using the find and replace option enter: 
Find what: 8080 
Replace with: 8443 
- Click the OK button 
- Verify you only see 8443 listed in file 
- Find security.require-ssl=false and change the value to true: 
security.require-ssl=false 
- Save file 
- Go to C:\Program Files\CA\CA Test Data Manager Portal\tomcat\conf 
- Make a backup copy of the server.xml file 
- Open the server.xml file in a text editor Notepad (or Notepad++, etc) 
- Comment out the "<Connector port="8080" protocol="HTTP/1.1"...." line <!-- -->. Example: 
          <!-- 
          <Connector port="8080" protocol="HTTP/1.1" scheme="http" clientAuth="false" connectionTimeout="60000"/> 
           --> 
- Add a new line: 
        <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLSv1.2"          keystoreFile="${tdmweb.keystorePath}" keystorePass="${tdmweb.keystorePassword}" 
keyAlias="${tdmweb.keyAlias}" ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" connectionTimeout="60000"/> 
- Save the file 
- Start the CA Test Data Manager Portal service 
- Start the OrientDB service 
- Launch the TDM Portal in your web browser 
- Go to C:\ProgramData\CA\CA Test Data Manager Portal\logs 
- Review the startup.log in a text editor and verify that all the microservices have started 
- Open TDM Portal in your Web Browser to see if you can access it via the new port: https://[tdmportalhost]:8443/TestDataManager