Configuring SSL on Apache Tomcat and LDAP servers#

The steps for configuring secure HTTP connections with the HCL™ Launch server are similar to the steps for any Java™ Platform, Enterprise Edition server.

To set up SSL security, you must have a certificate for the server. If you use certificates that are self-signed or certificates that are issued by a certificate authority that is not trusted, you must import these certificates into the trust store. A trust store contains trusted certificates from servers and certificate authorities. Import the self-signed certificates, certificate authority certificates, and intermediate certificate authority certificates to the JRE_install/jre/lib/security/cacerts file. For an example of importing a certificate to a trust store, see the Importing the Certificate Reply from the CA topic in the HCL® SDK, Java Technology Edition help.

In the case of LDAP servers, SSL certificates must have valid chains of authority. If you use your own certificate authority, add that certificate authority to the local trust store.

Because the HCL Launch server runs on Apache Tomcat, you can refer to the instructions for configuring security on Tomcat on the Apache Tomcat website. You can enable SSL security for Apache Tomcat when you install HCL Launch. If you enable SSL security during installation, a self-signed certificate is generated and added to the tomcat.keystore file. The common name (CN) in the self-signed certificate is set to

Note: The presence of a self-signed certificate is flagged as a warning by many web browsers when you connect to an HCL Launch server that uses a self-signed certificate in the tomcat.keystore file.

  1. Setting up SSL security for the server involves these general steps:
  2. Transfer the files for the certificate to the computer that hosts the HCL Launch server.

  3. Add the certificate to the server keystore.

    The server has a default keystore in the server_install/opt/tomcat/conf/tomcat.keystore file. The default password for this keystore is changeit.

  4. Open the \opt\tomcat\conf\server.xml file that is on the HCL Launch server.

  5. Add the following line after keystoreFile="conf/tomcat.keystore":


    The following code provides an example of an added certificate alias line. In the example, the certificate alias is

    <Server port="0" shutdown="SHUTDOWN" debug="0"> <Service name="Catalina"> <Connector port="${install.server.web.https.port}" address="${install.server.web.ip}" server="SERVER" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" compression="1024" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain,application/json" algorithm="${install.server.ssl.algorithm}" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" URIEncoding="UTF-8" ciphers="${install.server.ssl.enabledCiphers}" sslEnabledProtocols="${install.server.ssl.enabledProtocols}" keystoreFile="conf/tomcat.keystore" **keyAlias=""** keystorePass="changeit" />

  6. Restart the server.

  7. Similarly, add the same certificate to the keystore of each agent and agent relay.

    For example, the default location of an agent keystore is agent_install/conf/agent.keystore.

  8. To configure secure communication between the HCL Launch server and an LDAP server, add the LDAP server certificate to the JRE_install/jre/lib/security/cacerts file. This file is on the HCL Launch server. Use the installation folder of the JRE for JRE_install.

Parent topic: SSL configuration

Parent topic: Configuring