I'm trying to enable SSL on my Apache 2.4 (Ubuntu 16.04.2), but without any success.
I can run the command a2enmod ssl and it does state that ssl is already enabled.
But whenever I try to include a "SSLEngine on" in the wiki.conf, Apache displays:
"Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration"
Any idea what I'm doing wrong? Could it be that mod_ssl.c is not available?
Best and thanks
Christoph
Ports Conf
wiki.confCode:Listen 80 <IfModule mod_ssl.c> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Code:<VirtualHost *:443> SSLEngine On SSLCertificateFile /etc/ssl/certs/wiki.crt SSLCertificateKeyFile /etc/ssl/private/wiki.key ServerName wiki.xyz.com ServerAdmin christoph@xyz.com DocumentRoot /var/www/html/wiki/ <Directory /var/www/html/wiki/> Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted </Directory> ErrorLog /var/log/apache2/error.log LogLevel debug CustomLog /var/log/apache2/access.log combined ServerSignature On </VirtualHost>



Adv Reply





Bookmarks