I’ve been configuring Apache web server recently, it’s been a VPS installed from scratch that needed SSL certificate added.
My primary webserver of choice is nginx, and so Apache skills are getting rusty.
Invalid command ‘SSLEngine’
When I made the necessary changes in virtual hosts config file, I ran the syntax check and received an error:
[[email protected] conf.d]# httpd -t
AH00526: Syntax error on line 50 of /etc/httpd/conf.d/superdomain.com.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
After double-checking the syntax, I realised my mistake: the SSL module was missing.
In order to fix the error above, we need to install the mod_ssl:
pS: WOW! I completely forgotten that there’s practically nothing written here on Unix Tutorial blog about either nginx or Apache web severs. Will address that in the nearest future!
Follow me on Facebook and Twitter or jump into Telegram chat!:
Recommended Software
I use Brave browser, it's awesome:
I'm also a fan of SetApp for macOS:
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!