To enable SSL communication for Infoworks UI, please follow the below steps

1. Navigate to Nginx configuration directory using the following command: cd ${IW_HOME}/resources/nginx-portable/conf/infoworks

2. Run the following command to open platform.conf.template file for editing: vi platform.conf.template
The structure of the template file will be as follows:
server {

# External Access#

# Exteral port on which this service will be listening

# Syntax for HTTP: listen <port-number>;

# Syntax for HTTPS: listen <port-number> ssl;

listen ${PROXY_SERVER_PORT};

################################################

# SSL Certificates

#

# For HTTPS, the path to the certificate and key file

# need to be specified in the following keys:

# ssl_certificate <path-to-certificate-file>

# ssl_certificate_key <path-to-certificate-key-file>

# ssl_certificate /etc/nginx/ssl/infoworks_ssl.crt;

# ssl_certificate_key /etc/nginx/ssl/infoworks_ssl.key;


3.Add the string following string below listen ${PROXY_SERVER_PORT};
listen 443 ssl;

so that it should two listen statements
listen ${PROXY_SERVER_PORT};
listen 443 ssl;

4.Add the respective ssl certificate key path and certificate file path as described below:

  • Step 1: Uncomment # ssl_certificate /etc/nginx/ssl/infoworks_ssl.crt; line.
  • Step 2: Update it to ssl_certificate <path-to-certificate>/infoworks_ssl.crt; , where path-to-certificate is your respective path to the generated certificate file.
  • Step 3: Uncomment # ssl_certificate_key /etc/nginx/ssl/infoworks_ssl.key; line.
  • Step 4: Update it to ssl_certificate_key <path-to-certificate>/infoworks_ssl.key;,where path-to-certificate is your respective path to the generated certificate file.

5.Restart Nginx service using the following commands:
cd ${IW_HOME}/bin
./stop.sh nginx && ./stop.sh UI
./start.sh nginx && ./start.sh UI

Applicable versions:  3.2, 4.2, 4.2.0.1