Linux Shout published a tutorial about installing mod_ssl on Almalinux 8 or Rocky Linux 8 for httpd Apache webserver.
Install mod_ssl on Almalinux 8 / Rocky Linux 8 for httpd Apache webserver
how to enable mod_ssl & mod_http2 for Apache webserver on Almalinux or Rocky Linux 8 (RHEL based) and generate self-signed SSL certificate
Install mod_ssl on Almalinux 8 / Rocky Linux 8 for httpd Apache webserver