0

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.

Cain Nuke
  • 113

0 Answers0