When deploying the Content Gateway using the relay-endpoint model, you must install two instances of the Content Gateway on separate servers. One of the servers on which one instance must be installed is the relay server.


  1. Create a dedicated install directory for the Content Gateway installer on the server (For example, /tmp/ContentInstall/).
  2. Copy the .bin file to the dedicated install directory using a file transfer software.

    Examples of file transfer software include FileZilla or WinSCP.

  3. On the Linux box, navigate to the folder you copied the file to.

  4. Locate the ContentGateway.bin file, and make it an executable file:
    sudo chmod +x ContentGateway.bin
  5. Begin installation:
    $ sudo ./ContentGateway.bin
  6. Press Enter until you receive a prompt to accept the licensing agreement. Press Y to accept.
  7. Select the Installation Type.
    1. If you want to retrieve the Gateway instance configuration from an API server, select Provide API Server Information.
    2. If you have downloaded the Gateway instance configuration as XML file from UEM console, select Import Config.xml file.
  8. If you select Provide API Server Information:
    1. Enter API URL and press Y to accept.
    2. Enter ContentGateway GUID and press Y to accept.
    3. Enter and confirm the password for Content Gateway.
  9. If you select Import Config.xml file:
    1. Enter the config.xml file path and press Enter.
    2. Review the Product Name and Program Features and press Enter.
    3. Enter Content Gateway Certificate Password.
  10. Enter Relay as the configuration type for Content Gateway Setup.
  11. Verify the firewall ports match your server. Enter Y to grant the installer firewall permissions needed.
  12. Review the summary information and verify its accuracy.

  13. Press Enter to begin the installation.

    Any errors during installation are displayed as error messages with details. The errors are recorded in the installation log file, which saves in the same directory in which you installed the Content Gateway. For information about troubleshooting the errors, see Content Gateway Troubleshooting.

  14. Close the installer and verify connectivity to AirWatch. For information about testing the Content Gateway's connectivity, see Verify Content Gateway Connectivity.