-
-
Notifications
You must be signed in to change notification settings - Fork 78
Setup HTTPS for Etebase
Setting up TLS for Etebase is a breeze by using Certbot. This tutorial assumes you're using Nginx as web server.
First, make sure your server is reachable by HTTP, and that the HTTPS port (443) is also open. On your server machine, add the Certbot PPA and install it. (Note: these instructions are for Ubuntu/Debian. For other operating systems, visit certbot's site.)
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository universe
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot python-certbot-nginx
Next, run the following command to automatically have Certbot edit your Nginx configuration to work with TLS.
$ sudo certbot --nginx
Lastly, confirm that it worked by vising https://yourdomain.com
.
And that's it! Certbot should have installed everything correctly. Your certificates should renew automatically after a certain period of time.
After adding HTTPS to your server, you're done. Congrats! It might be a good idea to close your HTTP port now if you don't use it for anything else.
While self-hosting is free, please consider registering an account in order to support the development of EteSync, or visit the contribution for more information on how to support the service.
- Home
- Setting up an Etebase Server (EteSync v2)
- Migration from SQLite to PostgreSQL
- Backups