Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

When configure apache2 virtual hosts for ssl/https connection, after adding configuration and enable the configuration with this command " a2ensite pm.university.com.conf " i got this error "Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration". I will answer my own question.

like image 799
Dung Avatar asked Jun 02 '17 19:06

Dung


1 Answers

It turned out I did enabled ssl module but i had to do it again and it works, here is the command:

sudo a2enmod ssl

Now restart apache like so service apache2 restart

no more error, FIXED!

like image 194
Dung Avatar answered Oct 01 '22 04:10

Dung