Loomio
Wed 29 Jun 2016 2:45PM

Installing Loomio in a LAN

D Dupont Public Seen by 31

Hello,
can we install loomio on a private local area network ?
When I start loomio he gets mistake because he wants a public suffix and automatically connects to let's encrypt .
Also I do not manage to disable ssl to work on port 80 .

Otherwise do I create my own certificates ? If so I put them in what directories ?

Regards,

LP

Louis Parisot Thu 30 Jun 2016 6:05AM

I've been able to (partially) install Loomio on my LAN as follow:
- in loomio-deploy/docker-compose.yml, remove (or comment) the "letsencrypt" part.
- put your certificates and keys (mydomain.crt, mydomain.key, faye.mydomain.crt, faye.mydomain.key) in loomio-deploy/certificates.

I used self-signed certificates, so the users have to add it to their web browser (security warning > add an exception...).
However, the usage of self-signed certificates seems to lead to the following problem: the user interface is not always updated after some actions (e.g. creation of discussion threads) because "loomio" application (in "loomio" container) fails to connect to faye.mydomain because it does not accept the self-signed certificate.

Does anyone know how to let loomio accept self-signed certificates?

Otherwise, using a certificate issued by a Certification Authority (other than Let's Encrypt) may solve the problem.

DU

Andrew McPherson Thu 30 Jun 2016 10:30AM

You can use Let's Encrypt so long as you connect it to the internet at setup.

F

FSF1967 Thu 30 Jun 2016 12:50PM

The best way is to install a reverseproxy on your local area to redirect port 80 and 443 of loomio.yourdomain.com for example to your loomio server.
It is what I have make last month
After reverseproxy install, you install let'sencrypt on your reverseproxy server and generate lets encrypt certificate with the command ./letsencrypt-auto certonly --standalone -d url_of_your_website.
Tutorial in french: http://denisrosenkranz.com/tuto-certificat-ssl-gratuit-avec-lets-encrypt/

PD

Pierre Dupont Fri 1 Jul 2016 7:38AM

Hello,
Thank you for your answers. We will try all that and do a procedure if it works.

F

FSF1967 Sat 16 Jul 2016 2:18PM

Does it work?

For information i have wrote a complete tutorial in a debian french forum: https://www.debian-fr.org/t/loomio-derriere-un-reverseproxy/70055

an another member made a successfull install behind a nginx reverseproxy (on the same post)