In this video we’ll go through and configure OpenSSL for secure owncloud access.
Part 1 – Updated how to install ownCloud 7 onto Ubuntu 14.04.1 LTS Server
Commands used in video:
Enable ssl
sudo a2enmod ssl
Create new directory for the self signed certificate
sudo mkdir /etc/apache2/ssl
Create the self signed certificate and the server key that protects it, and placing both of them into the new directory
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/owncloud.key -out /etc/apache2/ssl/owncloud.crt
Now we setup the certificate
sudo nano /etc/apache2/sites-available/default-ssl.conf
The lines that need changing are the following
ServerName 192.168.1.11:443
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/owncloud.crt
SSLCertificateKeyFile /etc/apache2/ssl/owncloud.key
Activate the new vhost
sudo a2ensite default-ssl
Restart apache
sudo service apache2 restart
Videos in this Series:
Nas4Free – Update ownCloud Manually on Nas4Free
Nas4Free – Increase ownCloud Max Upload
Nas4Free – Install ownCloud on your Nas4Free
ownCloud – Untrusted Domain Login Fix
uBuntu – Change ownCloud Upload Limit
uBuntu – Move ownCloud Data To New Location
uBuntu – ownCloud 6 Install on uBuntu 10.12 Server
uBuntu – ownCloud 7 Install on Ubuntu 14 Server
Ubuntu – ownCloud Secure Access with SSL
Windows – Configure SSL on Windows 7
Windows – Install ownCloud with Wamp