I added a virtualserver to my apache config file so I can use SSL on my site like this:
<VirtualHost *:443>
DocumentRoot "/var/www/html/site"
ServerName mysite.net
SSLEngine on
SSLCertificateFile /etc/webmin/letsencrypt-cert.pem
SSLCertificateKeyFile /etc/webmin/letsencrypt-key.pem
SSLCertificateChainFile /etc/webmin/letsencrypt-ca.pem
</VirtualHost>
but as I restart Apache I get this error:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
I consulted similar topics on this site and I installed mod_ssl but no use. The topics are like 8 years old now so maybe something has changed. What am I missing?
Thank you.
rpm -V mod_ssl
? – jsbillings Apr 25 '20 at 02:25yum -y install mod_ssl
? – binarysta Apr 25 '20 at 04:19rpm -q —whatprovides mod_ssl
return? – jsbillings Apr 26 '20 at 01:58