Skip to main content

HTTPS Setup

Perform the following steps to set up HTTPS access for a Red Hat Enterprise Linux 9 virtual machine running in OpenShift. It provides creating or importing SSL certificates, securing the connection with TLS, and updating the application configuration to support encrypted access.

Create a RHEL 9 Virtual Machine

If RHEL 9 Virtual Machine is not already done, perform the following steps:

  1. Open Virtualization > VirtualMachines > Create > From Template.
  2. Select Red Hat Enterprise Linux 9 template.
  3. Click on the template to open it.
  4. Update Disk size to 120 GB.
  5. Click on Create.

Install RPM Package

Follow the instructions and perform as described in Flexera RHEL 9 Installation.

Create or Import SSL Certificate

Configure SSL

To configure SSL, follow: Configure SSL on RHEL 9.

Create a Service for HTTPS

  1. Open Networking > Services > Create Service.

  2. Set Target port to

     ports:
    - protocol: TCP
    port: 443
    targetPort: 443
  3. Click Create.

Create a Secure Route

  1. Open Networking > Routes > Create Route.
  2. Select the HTTPS Service.
  3. Delete any path in the YAML.
  4. Set Target Port to 443.
  5. Enable Secure Route.
  6. Set TLS Termination to Passthrough.
  7. Click Create.

Run Installation Script

  1. Copy the secure route's location.

  2. On the RHEL9 VM, run:

     bash
    /usr/local/Secunia/csi/install/installationProcess.sh
  3. Use the HTTPS route hostname as the server name.

Access Web Interface over HTTPS

  1. Open the browser and go to: https://<secure-route-hostname>/svm.
  2. You may encounter SSL warnings if using a self-signed cert proceed accordingly.