Install Knox

Install Knox

Perform the following steps to install Knox.

Knox Master Secret - Acceldata@01

Add entry for the Pinot service in the topology.

To configure Knox for Pinot in the current release [3.2.3.X], follow the steps outlined below.

  1. Create service directory for Pinot under Knox installation path.
Bash
Copy
  1. Create and update the content of below files.
Bash
Copy

Paste the content of the rewrite file present on this link.

Bash
Copy

Paste the content of the service file present on this link.

  1. Save and restart Knox.

Start the demo LDAP Server

If you are enabling Knox, disable the basic auth option.

Knox Homepage UI

Access the Knox Homepage UI, click the Pinot service, and enter username and password.

SSL Enablement on the Controller UI

To generate the pinot-keystore.p12 and pinot-truststore.p12 files for securing the Pinot Controller UI using SSL/TLS, follow these steps:

Prerequisites

  • Java installed (keytool comes with JDK)
  • OpenSSL (optional for importing existing certs)
  • Directory /etc/pinot/ssl/ exists and has proper permissions

Generate Keystore and Truststore for Pinot Controller

  1. Generate a Keystore (Self-Signed Certificate)
Bash
Copy
  • storepass and keypass can be the same.
  • Replace CN and other DNAME values as needed.
  1. Create the Truststore

If you're using self-signed certs, export the public certificate from the keystore and import it into the truststore.

Export certificate from keystore:

Bash
Copy

Import into a new truststore

Bash
Copy
  1. Secure Permissions (Optional, but Recommended).
Bash
Copy
  1. Configure Pinot to use the SSL Certificate.

Edit controller.conf or wherever your Pinot Controller properties are set:

Bash
Copy

Restart the Pinot Controller after updating the configuration.

Save and restart the service.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated