Disabling SSL for host factory

Disable SSL communication between the host factory server and client in a non-production environment. SSL communication is highly recommended when integrity and confidentiality of data transmission is essential.

About this task

SSL communication for host factory follows your SSL setting for RESTful web servers, which is enabled during installation by default. If you disabled SSL for web server communication during installation, SSL for host factory is also disabled.
Important: Ensure that you use the same SSL setting (either enabled or disabled) for the cluster management console, RESTful web servers, and host factory. You cannot enable SSL for one and disable SSL for others; without a uniform configuration, errors occur. Note, however, that when SSL is uniformly enabled, you can use different certificates and keys as required.

Procedure

Follow these steps to disable SSL for host factory:

  1. Stop the HostFactory service:
    egosh service stop HostFactory
  2. Disable SSL in the hostfactoryconf.json file at $EGO_ESRVDIR/hostfactory/conf/.
    1. Required: Set the HF_REST_TRANSPORT parameter to TCPIPv4.
    2. Optional: Set the HF_REST_LISTEN_PORT parameter to the listening port for host factory client HTTP requests. Valid value is either 0 or a port number in the range 1024 - 65535. The default port is 9080. If you specify 0 or if the parameter is not defined, a random port is assigned.

      If you disable SSL but do not change the port, the existing port in HF_REST_LISTEN_PORT is used.

    For example:
    "HF_REST_LISTEN_PORT": 9080,
    "HF_REST_TRANSPORT": "TCPIPv4"
  3. Save your changes to hostfactoryconf.json.
  4. Start the HostFactory service:
    egosh service start HostFactory

Results

The host factory RESTful APIs are now accessible over HTTP.