How to change the TDM Portal port from 8443 (HTTPS) to 8080 (HTTP)

Document ID : KB000010721
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

The default ports for TDM Portal are 8080 for HTTP and 8443 for HTTPS. Some environments require TDM Portal to be run on a different port and without HTTPS. This document details the steps necessary to make this configuration. You can read a general overview of installing the Portal here: https://docops.ca.com/ca-test-data-manager/4-2/en/installing/install-ca-test-data-manager/install-the-ca-tdm-portal 

Environment:
CA Test Data Manager (TDM)- Portal
Instructions:

This configuration not only changes the port that TDM Portal listens on, but changes the protocol from HTTPS to HTTP.

  1. Stop the CA Test Data Manager Portal service
  2. Stop the OrientDB service
  3. Go to C:\Program Files\CA\CA Test Data Manager Portal\conf
  4. Make a backup copy of the application.properties file
  5. Open the application.properties file in a text editor Notepad (or Notepad++, etc)
  6. Using the find and replace option enter:
    Find what: 8443
    Replace with: 8080
  7. Click the OK button
  8. Verify you only see 8080 listed in file
  9. Find security.require-ssl=true and change the value to false:
    security.require-ssl=false
  10. Save file
  11. Go to C:\Program Files\CA\CA Test Data Manager Portal\tomcat\conf
  12. Make a backup copy of the server.xml file
  13. Open the server.xml file in a text editor Notepad (or Notepad++, etc)
  14. Comment out the "<Connector port="8443" protocol="HTTP/1.1" ...." line with <!-- -->. Example:
    <!--
    <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"/>
    -->
  15. Add a new line:
    <Connector port="8080" protocol="HTTP/1.1" scheme="http" clientAuth="false" connectionTimeout="60000"/>
  16. Save the file
  17. Start the CA Test Data Manager Portal service
  18. Start the OrientDB service
  19. Launch the TDM Portal in your web browser
  20. Go to C:\ProgramData\CA\CA Test Data Manager Portal\logs
  21. Review the startup.log in a text editor and verify that all the microservices have started
  22. Open TDM Portal in your Web Browser to see if you can access it via the new port: http://[tdmportalhost]:8080/TestDataManager
Additional Information:

If you experience any issues, please open a support case by going to https://support.ca.com/irj/portal/newhome or calling one of these numbers https://www.ca.com/us/services-support/ca-support/contact-support.html