owncloud: Import self-signed certs for a start.

This commit is contained in:
Michael Tremer
2014-04-16 16:50:18 +02:00
parent bccb7c5e48
commit f7f86f1a7c

View File

@@ -28,4 +28,10 @@ chown -R nobody:nobody /var/owncloud/*
chmod 777 /srv/web/owncloud/apps
chmod 777 /srv/web/owncloud/config
# Import web interface certificates if none exist.
if [ ! -e "/etc/httpd/owncloud.crt" ] && [ ! "/etc/httpd/owncloud.key" ]; then
cat /etc/httpd/server.crt > /etc/httpd/owncloud.crt
cat /etc/httpd/server.key > /etc/httpd/owncloud.key
fi
/etc/init.d/apache reload