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:
- Open Virtualization > VirtualMachines > Create > From Template.
- Select Red Hat Enterprise Linux 9 template.
- Click on the template to open it.
- Update Disk size to 120 GB.
- Click on Create.
Install RPM Package
Follow the instructions and perform as described in Flexera RHEL 9 Installation.
Create or Import SSL Certificate
-
To create a self-signed certificate, follow: Create Self-Signed SSL Certificate.
Use the VM's hostname as the Common Name (CN).
-
To import your own SSL certificate, follow: Import SSL Certificate.
Configure SSL
To configure SSL, follow: Configure SSL on RHEL 9.
Create a Service for HTTPS
-
Open Networking > Services > Create Service.
-
Set Target port to
ports:
- protocol: TCP
port: 443
targetPort: 443 -
Click Create.
Create a Secure Route
- Open Networking > Routes > Create Route.
- Select the HTTPS Service.
- Delete any path in the YAML.
- Set Target Port to 443.
- Enable Secure Route.
- Set TLS Termination to Passthrough.
- Click Create.
Run Installation Script
-
Copy the secure route's location.
-
On the RHEL9 VM, run:
bash
/usr/local/Secunia/csi/install/installationProcess.sh -
Use the HTTPS route hostname as the server name.
Access Web Interface over HTTPS
- Open the browser and go to: https://<secure-route-hostname>/svm.
- You may encounter SSL warnings if using a self-signed cert proceed accordingly.