Hello,
I’ve tried to follow this tutorial ( ownCloud Documentation Overview )
Steps to reproduce
- 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 How to find webserver or OC logfile / enable php logfile):