Follow the steps below to import and configure certificates for an on-premise setup.

Step 1: Map the Certificates Directory in the Docker Command

Update the Docker command to map the directory containing the certificates to the required path in the container. Use the following example as a reference: /home/ubuntu//certs:/opt/gamma/certs

Step 2: Set the Environment Variable

Add the following environment variable to the Docker command to define the root certificates path: ROOT_CERTS_PATH=/opt/gamma/certs

Step 3: Export the Certificate from the On-Premise Webpage

    1. Access the On-Premise Webpage: Open the on-premise setup webpage in your browser.
    1. View Site Details: Click on the padlock icon in the browser’s address bar and select Site Details.
    1. Open Certificate Details: Navigate to Certificate Details and go to the Details tab.
    1. Export the Certificate: Click the Export button, give the certificate a name, and save it. The file will be downloaded as a .pem file.
    1. Step 4: Copy the PEM File to the Mapped Directory
    1. Locate the Downloaded PEM File: The .pem file will be saved in your local system’s default downloads folder or the location you specified.
    1. Move the PEM File to the Mapped Location: Copy the downloaded .pem file to the mapped directory for certificates:
/home/ubuntu//certs Note: Ensure the certs folder has the appropriate read/write permissions to be accessed by the container.

Step 5: Restart the Docker Container

Restart the Docker container