How to enable SSL on Nextcloud installed on Ubuntu Server

December 21, 2016 | By | Reply More

I have a Nextcloud server installed on Ubuntu 16.04 server hosted at DigitalOcean.com cloud service. Its a great cloud computer I have been using for the last two years. Here I want to show you how to enable SSL on Nextcloud installed on Ubuntu 16.04. If you are running Nextcloud on Arch Linux, you may want to check out how to enable SSL on Nextcloud installed on Arch Linux.

nextcloud https ubuntu.png

It is pretty easy to enable SSL on Ubuntu server. Please follow these steps below to enable SSL/Https on your Nextcloud.

Step 1. Log in to the Ubuntu server

Step 2. Execute the following commands in sequence

a2enmod ssl
a2ensite default-ssl
service apache2 reload

That’s it. Now open your Nextcloud with https. You will be warned on the first login attempt. But that’s a common issue when using self signed certificate so nothing to worry about.

 

Tags: , ,

Category: Ubuntu

Leave a Reply