Hello,
I've tried to follow this tutorial ( https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/harden_server.html )
Steps to reproduce
1. Add the following line :
<VirtualHost *:443>
ServerName cloud.owncloud.com
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
</IfModule>
</VirtualHost>
To /etc/apache2/conf-enabled/owncloud.conf file
2. restart apache2
3. get this error message :
[Sun Aug 28 19:02:24.406570 2016] [ssl:emerg] [pid 3095] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
I guess I have to add
SSLCertificateKeyFile /etc/apache2/ssl/owncloud.key
in a configuration file, but which one ?
Expected behaviour
Not having the error
Actual behaviour
apache2 error
Server configuration
Operating system: Ubuntu 14.04
Web server: delestre.io/owncloud
Database: mysql
PHP version: 5.5.9
ownCloud version (see ownCloud admin page): 9.1.0
Updated from an older ownCloud or fresh install: fresh install
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):