

You can use the free, automated, and open CA, Let’s Encrypt.

You can order for a commercially trusted server certificate from your preferred CA.You can use self-signed certificates for test purposes.There are multiple options to choose from when you want to secure Apache with SSL/TLS certificates. firewall-cmd -add-port=80/tcp -permanent firewall-cmd -reload Generate SSL/TLS Certificates If you are looking at redirecting the HTTP traffic to HTTPS, open port 80 too. firewall-cmd -add-port=443/tcp -permanent In this guide, since we configuring Nginx to the TLS certificates, we are opening port 443/tcp. To allow external access to Apache over HTTPS, open 443 (HTTPS) depending on the traffic to server. systemctl enable -now httpd Allow HTTPS on Firewall Start and enable Apache to run on system boot. Both packages can be installed by running dnf install httpd mod_ssl Running Apache Update your system package by executing dnf update Install Apache and SSL/TLS module on CentOS 8Īpache HTTP server is provided by the httpd package while mod_ssl packages provides the Apache SSL/TLS module. Configure Apache with SSL/TLS Certificates on CentOS 8 Run System Update
