Activate HTTPS on an InterPlay server

You usually set the the HTTPS protocol during InterPlay installation by checking the Enable HTTPS connections option in the Synchrony Infrastructure / Apache Tomcat for Synchrony screen. You can however set up manually the HTTPS protocol after installation.

  1. On Tomcat, activate the HTTPS port for InterPlay.
  1. If you have installed InterPlay on the Tomcat server provided by the Infrastructure:
  • Activate it by using the Configure tool provided by the Installer.
  • Select Infrastructure V4.5.0 as the component that you want to configure.
  • Check Enable HTTPS connections in the screen.
  1. If you use an external Tomcat, modify the <Tomcat>/conf/server.xml file from the Tomcat installation by enabling an HTTPS port.
    The server certificate and the private key that is related to that certificate must be included in a keystore file that is protected with a password. The path to the keystore file and its password must be set here.

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

maxThreads="150" scheme="https" secure="true"

clientAuth="false" sslProtocol="TLS"

keystoreFile="<InstallDir>/Common/config/certs/keystore.jks"

keystorePass="axway*"/>

The certificates that are provided with InterPlay are mainly for test purposes and are the same for all InterPlay installations. You are advised to provide your own certificate (see Use your own certificate ) to secure your InterPlay application.

  1. Enable the security constraint in the InterPlay web application (optional) to allow only encrypted requests from clients.
    Uncomment the code below in the <war>/WEB-INF/web.xml file.

<security-constraint>

<web-resource-collection>

<web-resource-name>securedapp</web-resource-name>

<url-pattern>/*</url-pattern>

</web-resource-collection>

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

</security-constraint>

  1. Regenerate the WAR file using the “archive” InterPlay script.

Related Links