Getting Started with the CreateTEMTasks utility

The CreateTEMTasks utility (CTTU) creates TEM tasks that are used by a TEM console operator to deploy, upgrade, and uninstall Connect:Direct® for UNIX and Connect:Direct for Microsoft Windows across the enterprise. The CTTU also provides a TEM task to start the Connect:Direct for Microsoft Windows service.

The CTTU is a Java based application and requires Java Runtime Environment (JRE), version 1.6 or later.
The CTTU must use a secure connection to the TEM server. Before you can run the CTTU, you must add the TEM server public certificate to the JKS truststore used by the CTTU. You can add the certificate by using the following procedure on Microsoft Windows:
  1. Make a copy of the cacerts truststore file for the JRE. The truststore file is usually in the <install directory>/jre/lib/security directory of your JRE.
  2. Put your copy of the cacerts truststore file in a directory that contains no other files.
  3. Download a copy of the TEM server public certificate. If you use a Firefox browser, use the following procedure:
    1. Type the URL of the TEM server in the following format: https://<TEM server address>:<TEM port>.
      A "This Connection is Untrusted" message is displayed.
      Attention: 52311 is the default port the TEM server listens on for connections. If your TEM server is configured to listen on a different port, use that value.
    2. Click Add Exception....
      The "Add Security Exception" window opens.
    3. Click View...
    4. Click the Details tab.
    5. Click Export....
    6. Save the certificate.
    Tip: Alternately, you can use OpenSSL to obtain a copy of the TEM server public certificate. Issue the command: s_client -showcerts -connect <server>:52311, where <server> must be replaced with the TEM server address. Copy the certificate from the console.
  4. Open a Command Prompt.
  5. Use the Java keytool utility to add the certificate to your copy of the cacerts file with the following command:
    keytool -import -alias tem -keystore <file pathname to cacerts copy> 
    -file <file pathname to TEM server public certificate> -trustcacerts
  6. When prompted, enter the password for the truststore file. The default value is changeit.