SSL/TLS for PULSE UI using ad-proxy

Enabling (TLS) HTTPS for Pulse Web UI Configuration using ad-proxy

Pre-requisites

  • Certificate File: cert.crt
  • Certificate Key: cert.key
  • CA Certificate: ca.crt (optional)
  • Decide whether to keep the HTTP port (Default: 4000) open or not
  • Decide on which port to use (default: 443)

Deployment and Configuration

  1. Copy the cert.crt, cert.key and ca.crt (optional) files to $AcceloHome/config/proxy/certs location.
  2. Check if ad-core.yml file is present by executing the following command.
Bash
Copy
  1. If ad-core.yml file is not present, then generate the ad-core.yml file by executing the following command.
Bash
Copy

The output for the above looks as follows.

Bash
Copy
  1. Modify the ad-core.yml file.
    1. Open the ad-core.yml file by executing the following command..
Bash
Copy

b. Remove the ports: field in the ad-graphql section of ad-core.yml

Bash
Copy

c. The resulted ad-graphql section will look like as follows:

Bash
Copy

d. Save the file.

  1. Restart the ad-graphql container by executing the following command.
Bash
Copy
  1. Check if the port is not exposed to host by executing the following command.
Bash
Copy

The output for the above command looks as follows.

Bash
Copy
  1. Check if there any errors in ad-graphql container:
Bash
Copy
  1. Deploy the ad-proxy addons, run the following command and select Proxy from the list and press enter.
Bash
Copy

The output for the above command looks as follows.

Bash
Copy
  1. Check if any errors are there in the ad-proxy container:
Bash
Copy
  1. Now you can access the Pulse UI using https://<pulse-server-hostname>

By default the port used is 443

Configuration

If you want to change the SSL port to another ports, follow the below steps.

  1. Check if ad-proxy.yml file is present, by executing the following command.
Bash
Copy
  1. Generate the ad-proxy.yml file if its not present, by executing the following command.
Bash
Copy

The output for the above command looks as follows.

Bash
Copy
  1. Modify the ad-proxy.yml.

    1. ```Open the ad-proxy.yml file by executing the following command. ` ``
Bash
Copy

b. Change the host port in the ports list to the desired port.

Bash
Copy

The final file will look like this, if the host port is 6003

Bash
Copy

c. Save thew file.

  1. Restart the ad-proxy container by executing the following command.
Bash
Copy
  1. Check if there aren’t any errors.
Bash
Copy
  1. Now you can access the Pulse UI using the following URL.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard