Hero Image

Server Setup Guides

Enable TLS/SSL on Apache – RHEL 9

Enable TLS/SSL on Apache – RHEL 9

Step 1 – Enable mod_ssl

dnf install -y mod_ssl && systemctl restart httpd

Step 2 – Generate self-signed certificate

openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
    -keyout /etc/ssl/private/apache-selfsigned.key \
    -out /etc/ssl/certs/apache-self...
7th May 2026

Install Apache HTTP Server on RHEL 9

Install Apache HTTP Server on RHEL 9

Step 1 – Install

subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
dnf install -y httpd mod_ssl
systemctl enable --now httpd

Step 2 – Open firewall ports

firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --ad...
7th May 2026