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. |
Install RPM Package
Follow the instructions and perform as described in Flexera RHEL 9 Installation.
Create or Import SSL Certificate
Use the VM's hostname as the Common Name (CN)
Configure SSL
To configure SSL, follow: Configure SSL on RHEL 9.
Create a Service for HTTPS
|
•
|
Open Networking > Services> Create Service. |
ports:
- protocol: TCP
port: 443
targetPort: 443
Create a Secure Route
|
•
|
Open Networking > Routes > Create Route. |
|
•
|
Select the HTTPS Service. |
|
•
|
Delete any path in the YAML. |
|
•
|
Set Target Port to 443. |
|
•
|
Set TLS Termination to Passthrough. |
Run Installation Script
|
•
|
Copy the secure route's location. |
bash
/usr/local/Secunia/csi/install/installationProcess.sh
|
•
|
Use the HTTPS route hostname as the server name. |
Access Web Interface over HTTPS
|
•
|
You may encounter SSL warnings if using a self-signed cert proceed accordingly. |